Complete as fast as possible, rest as needed.
- 50 Jumping Jacks
- 25 Wall sit military press
- 40 Crunches
- 20
ECleg crossover (flat on back, then cross over one leg)
| import subprocess | |
| class SaveIndixDataError(Exception): | |
| """ There was some error with saving indix data to the database. """ | |
| pass | |
| class SaveIndixDataMismatchError(SaveIndixDataError): | |
| """ Number of submitted records did not match number processed. """ | |
| pass |
| @pytest.fixture | |
| def quietcaplog(caplog): | |
| """ Capture logging while suppressing output to stderr and stdout. | |
| quietcaplog IS a caplog fixture (so anything you can do with the caplog | |
| fixture you can do with it). BUT it also removes any StreamHandler | |
| loggers from the root logger before the test and replaces them on the root | |
| logger after the test is over. That means your tests are quiet, but you | |
| can also inspect the log messages being produced if needed. |
| """ An example of appending blocks to a help message. """ | |
| import argparse | |
| import sys | |
| TEXT_TO_APPEND = """ | |
| examples: | |
| This is how you do things |
| from wms_api_client.client import Client | |
| # could also be set as environment variables | |
| config = dict( | |
| WMS_REST_BASE_URL="https://secure-wms.com", | |
| WMS_REST_CLIENT_ID="<...your client id...>", | |
| WMS_REST_SECRET="<...your secret...>" | |
| ) | |
| client = Client.from_login(user_login="1", tpl="BITeam", config=config) |