示例#1
0
 def test_nsadict_correct(self, page, cube):
     nsa, cols = make_nsa_dict(cube.nsa)
     for value in cube.exp_nsa_plotcols.values():
         assert set(value.keys()).issubset(set(cols))
         page.assert_dict_contains_subset(value, nsa)
         page.assertListIn(value.keys(), cols)
示例#2
0
 def test_nsadict_correct(self):
     nsa, cols = make_nsa_dict(self.cube.nsa)
     self.assertDictContainsSubset(self.exp_nsa_plotcols, nsa)
     self.assertListIn(self.exp_nsa_plotcols.keys(), cols)