Metadata-Version: 2.1
Name: elmock
Version: 0.0.1
Summary: A simple package to allow dynamic mocking class definition.
Home-page: https://github.com/elmagician/elmock
Author: Titouan FREVILLE
Author-email: titouan.freville@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/elmagician/elmock/issues
Description: # elmock
        
        A simple python package to help dynamic mock class creation.
        This package is inspired by [golang testify/mock tool](https://github.com/stretchr/testify).
        
        ## How to use
        
        You juste have to create a class to mock inheriting the `elmock.Mock` class. 
        Then setup your test case using:
        
        ```python
        def test_smtg():
            smtg_mock.on('some_method', return_value={'ok': True}, param1=198, some_date=datetime.now())
            some_test.use_smtg_some_method()
        ```
        
Platform: UNKNOWN
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.6
Description-Content-Type: text/markdown
