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 08b4f35 commit aa1e239Copy full SHA for aa1e239
tests/test_package.py
@@ -3,6 +3,7 @@
3
import importlib.metadata
4
5
import save_and_restore_api as m
6
+from save_and_restore_api.tools.upload import SaveRestoreAPI
7
8
9
def test_version():
@@ -11,3 +12,13 @@ def test_version():
11
12
13
def test_import():
14
from save_and_restore_api.tools.upload import SaveRestoreAPI # noqa: F401
15
+
16
17
+def test_comm():
18
+ SR = SaveRestoreAPI(base_url="http://localhost:8080/save-restore", timeout=2)
19
+ SR._username = "user"
20
+ SR._password = "userPass"
21
+ SR.open()
22
+ SR.login()
23
+ SR.get_node(SR.ROOT_NODE_UID)
24
+ SR.close()
0 commit comments