A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mindflayer/mocketoy below:

mindflayer/mocketoy: Client-Server Toy for Europython 2013 Talk

Client-Server Toy initially designed for our talk at Europython 2013

Mocket shows its power in the tests file, where you can see the first test using the real server, and a couple of tests using mocketize decorator.

Quick Start

# Install Dependencies to a local .venv/
python -m pip install -r requirements.txt

# In separate shells, run the server and the client:
python morpheus.py
python neo.py

# One test expects the server (morpheus.py) to be running, while the other two tests demonstrate mocking
python morpheus.py
python -m unittest tests.py

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4