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 details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

Details for the file svnmock-0.3.tar.gz.

File metadata

  • Download URL: svnmock-0.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for svnmock-0.3.tar.gz
Algorithm Hash digest
SHA256 3818e8fc88ec7cf048fd6a1a8eacc28588f7894ae44079fc63c63234ff35812d
MD5 3e79d156452804c042f7680fd862a456
BLAKE2b-256 ee63e20be034642509b107696bc17f75b44406835134f2215b02de623d368784

See more details on using hashes here.

File details

Details for the file svnmock-0.3-py2.3.tar.gz.

File metadata

  • Download URL: svnmock-0.3-py2.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for svnmock-0.3-py2.3.tar.gz
Algorithm Hash digest
SHA256 0a296881fc1b5577ebce125335b747a4f0b55bb639f01d021dfeeaab5266e8bd
MD5 42b774d0b0bc604dd3aff776a0f3c9bb
BLAKE2b-256 86841f41e7a8d0471b0359405cfe46bf964a49432cf1959a03fa0643707b97af

See more details on using hashes here.

File details

Details for the file svnmock-0.3-py2.2.tar.gz.

File metadata

  • Download URL: svnmock-0.3-py2.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for svnmock-0.3-py2.2.tar.gz
Algorithm Hash digest
SHA256 742b5743edf353837ff74f7e061221039a863d2b88baf0d2ff242608f5774460
MD5 e9c7998e05a026c86405ab4ead72cbfd
BLAKE2b-256 6a8c6ad96f662d62944c7aead513e651071431e7a819e2b2c77f295a30c6f57d

See more details on using hashes here.

File details

Details for the file svnmock-0.3-py2.5.egg.

File metadata

  • Download URL: svnmock-0.3-py2.5.egg
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for svnmock-0.3-py2.5.egg
Algorithm Hash digest
SHA256 f45843abfd25c123b39077457262d7f3764f57e59b5cbc268fa2d41d23ff12f2
MD5 24e726219040951daecab78c2b6d1980
BLAKE2b-256 691caa3db9ac5fc80d5b158e71ee1f40fdbb8316d2e113c1c341703afe6e1402

See more details on using hashes here.

File details

Details for the file svnmock-0.3-py2.4.egg.

File metadata

  • Download URL: svnmock-0.3-py2.4.egg
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for svnmock-0.3-py2.4.egg
Algorithm Hash digest
SHA256 26fd0d06373df7d8aea4e9cf7769a9138d3bccac1bfbc662775e7517abebac33
MD5 e153c4f8c32e2a33e679152537282d6a
BLAKE2b-256 3b84fb8487bb6d1f54566b8d098d51d8384183fd3354a2b876bd66c2f8d95fa2

See more details on using hashes here.

File details

Details for the file svnmock-0.3-py2.3.egg.

File metadata

  • Download URL: svnmock-0.3-py2.3.egg
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for svnmock-0.3-py2.3.egg
Algorithm Hash digest
SHA256 01f875a04b208a0061acdeccd1e0073584cade23103ea1438e452b39c790ba9c
MD5 ab8bd2ad9eb31c576e89fa2e32676721
BLAKE2b-256 f0683f95c0c7e1bc476089ec4d7e5ddc38342540c24b4331108b734d2891e272

See more details on using hashes here.

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