Skip to content

Commit 134dc52

Browse files
Update tests to cover new Sync API.
1 parent 628684b commit 134dc52

File tree

2 files changed

+208
-91
lines changed

2 files changed

+208
-91
lines changed

test/helpers.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
)
1010
from unittest.mock import MagicMock
1111

12-
from db_wrapper.connection import ConnectionParameters
13-
from db_wrapper.client import AsyncClient
14-
1512

1613
def composed_to_string(seq: Iterable[Any]) -> str:
1714
"""Test helper to convert a sql query to a string for comparison.
@@ -41,9 +38,3 @@ def wrapped(instance: Any) -> None:
4138
asyncio.run(test(instance))
4239

4340
return wrapped
44-
45-
46-
def get_client() -> AsyncClient:
47-
"""Create a client with placeholder connection data."""
48-
conn_params = ConnectionParameters('a', 1, 'a', 'a', 'a')
49-
return AsyncClient(conn_params)

0 commit comments

Comments
 (0)