Last active
May 13, 2022 07:27
-
-
Save twyle/a0ea143dc399b1971c89a3251b3cc498 to your computer and use it in GitHub Desktop.
Test config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""This module sets up the fixtures that will be used in our testing.""" | |
import pytest | |
from API import app | |
@pytest.fixture | |
def client(): | |
"""Create the test client.""" | |
test_client = app.test_client() | |
return test_client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment