We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33fe8dc commit da08116Copy full SHA for da08116
1 file changed
tests/test_smoke.py
@@ -1,4 +1,10 @@
1
import inspect
2
+import sys
3
+from pathlib import Path
4
+
5
+repository_root = Path(__file__).resolve().parents[1]
6
+if str(repository_root) not in sys.path:
7
+ sys.path.insert(0, str(repository_root))
8
9
import postgres_server
10
@@ -7,4 +13,3 @@ def test_creation_tools_exist() -> None:
13
assert inspect.iscoroutinefunction(postgres_server.PostgreSQL_create_schema)
14
assert inspect.iscoroutinefunction(postgres_server.PostgreSQL_create_table)
15
assert inspect.iscoroutinefunction(postgres_server.PostgreSQL_create_index)
-
0 commit comments