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):
3636 ]
3737
3838 assert len (res ["lines" ][0 ]["points" ]) == 2
39- assert set ([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" }
4040 assert res ["lines" ][0 ]["points" ][0 ]["date" ] == "May 05 2020"
4141 assert res ["lines" ][0 ]["points" ][1 ]["date" ] == "May 06 2020"
4242
@@ -55,7 +55,7 @@ def test_class_dma(self):
5555 ]
5656
5757 assert len (res ["lines" ][0 ]["points" ]) == 2
58- assert set ([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" }
5959 assert res ["lines" ][0 ]["points" ][0 ]["date" ] == "May 05 2020"
6060 assert res ["lines" ][0 ]["points" ][1 ]["date" ] == "May 06 2020"
6161
You can’t perform that action at this time.
0 commit comments