def test_base_path(self): assert ( schema(TITLE, VERSION, base_path='/myswagger') == dict(BASIC_SCHEMA, **{'basePath': '/myswagger'}))
def test_required_params(self): assert schema(TITLE, VERSION) == BASIC_SCHEMA