You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

svnmock

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svnmock

Testing library for Subversion's python bindings


Maintainers
1

Readme

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc