Skip to content

Commit a65ac2b

Browse files
committed
remove tests
# Conflicts: # tests/test_client.py
1 parent 78220bf commit a65ac2b

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

tests/test_client.py

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
11
from __future__ import annotations
22

33
import os
4-
from typing import Any
54
from unittest.mock import MagicMock
65

7-
import pytest
8-
from gotrue import SyncMemoryStorage
9-
10-
from supabase import Client, ClientOptions, SupabaseException, create_client
11-
12-
13-
@pytest.mark.xfail(
14-
reason="None of these values should be able to instantiate a client object"
15-
)
16-
@pytest.mark.parametrize("url", ["", None, "valeefgpoqwjgpj", 139, -1, {}, []])
17-
@pytest.mark.parametrize("key", ["", None, "valeefgpoqwjgpj", 139, -1, {}, []])
18-
def test_incorrect_values_dont_instantiate_client(url: Any, key: Any) -> None:
19-
"""Ensure we can't instantiate client with invalid values."""
20-
try:
21-
_: Client = create_client(url, key)
22-
except SupabaseException as e:
23-
pass
6+
from supabase import ClientOptions, create_client
247

258

269
def test_function_initialization() -> None:

0 commit comments

Comments
 (0)