Skip to content

Instantly share code, notes, and snippets.

@twyle
Created May 14, 2022 08:48
Show Gist options
  • Save twyle/5a644447bcc9cde49cbca42312420fa2 to your computer and use it in GitHub Desktop.
Save twyle/5a644447bcc9cde49cbca42312420fa2 to your computer and use it in GitHub Desktop.
# -*- 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