File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def test_class_state(self):
36
36
]
37
37
38
38
assert len (res ["lines" ][0 ]["points" ]) == 2
39
- assert [x for x in res ["lines" ][0 ]["points" ][0 ].keys ()] == ["date" , "value" ]
39
+ assert set ( [x for x in res ["lines" ][0 ]["points" ][0 ].keys ()]) == ["date" , "value" ]
40
40
assert res ["lines" ][0 ]["points" ][0 ]["date" ] == "May 05 2020"
41
41
assert res ["lines" ][0 ]["points" ][1 ]["date" ] == "May 06 2020"
42
42
@@ -55,7 +55,7 @@ def test_class_dma(self):
55
55
]
56
56
57
57
assert len (res ["lines" ][0 ]["points" ]) == 2
58
- assert [x for x in res ["lines" ][0 ]["points" ][0 ].keys ()] == ["date" , "value" ]
58
+ assert set ( [x for x in res ["lines" ][0 ]["points" ][0 ].keys ()]) == ["date" , "value" ]
59
59
assert res ["lines" ][0 ]["points" ][0 ]["date" ] == "May 05 2020"
60
60
assert res ["lines" ][0 ]["points" ][1 ]["date" ] == "May 06 2020"
61
61
You can’t perform that action at this time.
0 commit comments