Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resetting api.app.view_functions to the initial state #207

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removing state pollution in test_api_resources
sturmianseq committed Aug 28, 2021
commit 558ab2bfaf70d53202e7612481a90c75b88c1bd8
1 change: 1 addition & 0 deletions tests/test_sqlalchemy_data_layer.py
Original file line number Diff line number Diff line change
@@ -1895,6 +1895,7 @@ def test_api_resources(app, person_list):
api = Api()
api.route(person_list, 'person_list2', '/persons', '/person_list')
api.init_app(app)
api.app.view_functions.clear()


def test_relationship_containing_hyphens(api, app, client, person_schema, person_computers, register_routes,