duck.tests.test_server¶
Minimal test base for Duck webserver using external BASE_URL.
Module Contents¶
Classes¶
Base class for Duck server tests using a predefined BASE_URL. |
Functions¶
Data¶
API¶
- class duck.tests.test_server.TestBaseServer(methodName='runTest')¶
Bases:
unittest.TestCaseBase class for Duck server tests using a predefined BASE_URL.
Initialization
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- _app¶
None
- property app¶
- property base_url: str¶
- setUp()¶
- settings: Dict[str, Any]¶
None
- duck.tests.test_server.VERBOSE_TESTS¶
‘getenv(…)’
- duck.tests.test_server.set_settings(settings: Dict[str, Any])¶