We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c3b90 commit 0cf02daCopy full SHA for 0cf02da
tests/conftest.py
@@ -7,7 +7,7 @@
7
from supabase_py import Client, create_client
8
9
10
-@pytest.fixture(scope="function")
+@pytest.fixture(scope="session")
11
def supabase() -> Client:
12
url: str = os.environ.get("SUPABASE_TEST_URL")
13
key: str = os.environ.get("SUPABASE_TEST_KEY")
tests/test_dummy.py
@@ -9,10 +9,10 @@
"""
-def test_dummy():
+def test_dummy() -> None:
# Test auth component
14
assert True == True
15
16
17
-def test_client_initialziation():
+def test_client_initialziation() -> None:
18
client = supabase_py.Client("http://testwebsite.com", "atestapi")
0 commit comments