Examples of mocking scenarios using the library Mock
You will need to install the library Mock. You can use the provided requirements.txt file.
Install the Mock package with the following command:
- pip install -r requirements.txt
Alternatively you can install Mock using the command:
- pip install -U mock
You can run the tests with the following command:
- python -m unittest tests.SomeOtherClassTest