Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @pytest.fixture
- def client():
- app.config['TESTING'] = True
- client = app.test_client()
- yield client
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement