From 15c3da72796d16953a45523127824cd9a5ae7a69 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 20 Sep 2024 13:54:53 +0200 Subject: [PATCH] test connection parameters from dict --- tests/test_connection.py | 6 ++++++ tests/test_twentythree.py | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 tests/test_twentythree.py diff --git a/tests/test_connection.py b/tests/test_connection.py index 349701e..c8ecef4 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -5,3 +5,9 @@ def test_param_yaml(dummy_connection_config, dummy_con_param): con = _connection.Connection(dummy_connection_config) assert con._param == dummy_con_param + +def test_param_dict(dummy_con_param): + + con = _connection.Connection(dummy_con_param) + + assert con._param == dummy_con_param \ No newline at end of file diff --git a/tests/test_twentythree.py b/tests/test_twentythree.py deleted file mode 100644 index d79dd3d..0000000 --- a/tests/test_twentythree.py +++ /dev/null @@ -1,10 +0,0 @@ -import omnipath_metabo - -__all__ = ['Test23'] - - -class Test23: - - def test_twentythree(self): - - assert omnipath_metabo.twentythree() == 23