def test_from_object():
 assert (hug.api.from_object(TestAPI) == api)

def test_from_object ( ) : assert ( hug . api . from_object ( TestAPI ) == api )
test to ensure its possible to rechieve an api singleton from an arbitrary object .