Skip to main content

Testing library for Subversion's python bindings

Project description

svnmock provides capabilities to emulate the entire python language API for the Subversion revision control system.

The purpose of this library is to make it easy for developers to verify that SVN-facing code is working correctly. svnmock provides tools to assert that certain API functions must be called in a certain order with certain parameters, and that certain values should be returned from those function calls.

In addition, svnmock allows assertions of the type, “the return value from api_func_1() must be given as a parameter to api_func_2() and api_func_3()”. This allows more fine-grained flow control tracking than simple “was the 4th parameter ‘6’?” assertions.

In addition to simple “was function X called with arguments Y and Z?” assertions, svnmock provides easy mechanisms for simulating tricky failure conditions that might otherwise be impossible – or at least, very difficult – to simulate otherwise.

Lastly, svnmock provides tracing support, allowing you to verify that certain API calls are being made without mocking up the entire session.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

svnmock-0.3.tar.gz (6.6 kB view hashes)

Uploaded Source

svnmock-0.3-py2.3.tar.gz (6.6 kB view hashes)

Uploaded Source

svnmock-0.3-py2.2.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distributions

svnmock-0.3-py2.5.egg (17.5 kB view hashes)

Uploaded Source

svnmock-0.3-py2.4.egg (17.7 kB view hashes)

Uploaded Source

svnmock-0.3-py2.3.egg (18.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page