示例#1
0
 def test__pretty__output_should_be_useable_to_create_an_identical_parameterset(self):
     init = self.__class__.test_parameters
     P1 = JSONParameterSet(init)
     P2 = JSONParameterSet(P1.pretty())
     self.assertEqual(P1.as_dict(), P2.as_dict())
示例#2
0
 def test__pretty__output_should_be_useable_to_create_an_identical_parameterset(
         self):
     init = self.__class__.test_parameters
     P1 = JSONParameterSet(init)
     P2 = JSONParameterSet(P1.pretty())
     self.assertEqual(P1.as_dict(), P2.as_dict())