Skip to content

Commit 8365f04

Browse files
change test_argpase to use assertEqual
1 parent 226254f commit 8365f04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/json_front_tests/test_json_class.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def test_set_metas(self):
6262

6363
def test_argparse(self):
6464
args = self.json_class.get_args(["--data_path=data.csv", "--dag_path=dag.dot", "--json_path=tests.json"])
65-
self.assertTrue(args.data_path)
66-
self.assertTrue(args.dag_path)
67-
self.assertTrue(args.json_path)
65+
self.assertEqual(args.data_path, "data.csv")
66+
self.assertEqual(args.dag_path, "dag.dot")
67+
self.assertEqual(args.json_path, "tests.json")
6868

6969
def test_setup_modelling_scenario(self):
7070
self.json_class.setup()

0 commit comments

Comments
 (0)