diff --git a/tests/conftest.py b/tests/conftest.py index 05dc4b19..a6d3c3be 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,7 +7,7 @@ from supabase_py import Client, create_client -@pytest.fixture(scope="function") +@pytest.fixture(scope="session") def supabase() -> Client: url: str = os.environ.get("SUPABASE_TEST_URL") key: str = os.environ.get("SUPABASE_TEST_KEY") diff --git a/tests/test_dummy.py b/tests/test_dummy.py index 597b8184..677cc97f 100644 --- a/tests/test_dummy.py +++ b/tests/test_dummy.py @@ -9,10 +9,10 @@ """ -def test_dummy(): +def test_dummy() -> None: # Test auth component assert True == True -def test_client_initialziation(): +def test_client_initialziation() -> None: client = supabase_py.Client("http://testwebsite.com", "atestapi")