Metadata-Version: 2.1
Name: servicemock
Version: 0.1.0
Summary: Mock DSL for requests_mock
Home-page: https://github.com/mlackman/urban-lamp
Author: Mika Lackman
Author-email: mika.lackman@gmail.com
License: UNKNOWN
Description: # Servicemock
        [![Build Status](https://travis-ci.com/mlackman/urban-lamp.svg?branch=master)](https://travis-ci.com/mlackman/urban-lamp)
        
        ## Unittest example
        
        ```
        import unittest
        import servicemock as sm
        
        
        class TestService(sm.ServiceMockTestCase):
        
            def test(self):
                # If the expected request is not made the test will fail
                sm.expect('http://service.com').to_receive(sm.Request('GET', '/v1/users')).and_responds(sm.HTTP200Ok(sm.JSON({'status': 'ok'})))
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
