Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Trovebox Python Testing

###Unit Tests

The unit tests mock out all HTTP requests, and verify that the various components of the library are operating correctly.

They run very quickly and don't require any external test hosts.

Requirements

  • mock >= 1.0.0
  • httpretty >= 0.6.1
  • ddt >= 0.3.0
  • tox (optional)

Running the Unit Tests

python -m unittest discover tests/unit

To run the unit tests against all supported Python versions, use tox:

tox

###Functional Tests

The functional tests check that the Trovebox python library interoperates correctly with a real Trovebox server.

They are slow to run and rely on a stable HTTP connection to a test server.

For full details, see the functional test README file.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.