summaryrefslogtreecommitdiff
path: root/test/test_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_python.py')
-rw-r--r--test/test_python.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_python.py b/test/test_python.py
index ea2d278..a6b2787 100644
--- a/test/test_python.py
+++ b/test/test_python.py
@@ -104,6 +104,12 @@ def test_login_failed():
with pytest.raises(RuntimeError) as e:
m.connect()
+def test_get_stat_before_copy_start():
+ m = mscp.mscp("localhost", mscp.LOCAL2REMOTE)
+ m.connect()
+ (total, done, finished) = m.stats()
+ assert total == 0 and done == 0
+
param_invalid_kwargs = [
{ "nr_threads": -1 },