Skip to content

A python mock http server for unit-testing web service-dependant software

License

Notifications You must be signed in to change notification settings

JamesWiley/pymockhttpserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To install from pypi:
 
-easy_install mock_http
+pip install mock_http
 
 Usage
 -----
@@ -26,4 +26,4 @@ mock.expects(method=GET, path='/index.html')
 resp, status = self.http.request(
     uri = 'http://localhost:%s/index.html' % self.server_port)
 assert resp['status'] == '200'
-assert mock.verify()
+assert mock.verify()

About

A python mock http server for unit-testing web service-dependant software

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%