tests.test_fastapi_app module

Tests for fastapi_app

class TestFastAPIApp(methodName='runTest')[source]

Bases: TestCase

Unittest class to test fastapi_app

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.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

test_classic_fizzbuzz()[source]

Tests classic FizzBuzz web services