Skip to content

Instantly share code, notes, and snippets.

@twyle
Last active May 13, 2022 07:27
Show Gist options
  • Save twyle/a0ea143dc399b1971c89a3251b3cc498 to your computer and use it in GitHub Desktop.
Save twyle/a0ea143dc399b1971c89a3251b3cc498 to your computer and use it in GitHub Desktop.
Test config file
# -*- 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