Example #1
0
 def test_check_attributes_that_should_have_same_len_pairs(self):
     a = InputFileLoaderCheckerSaver()
     a.a = [2, 3]
     a.c = [3]
     a._attributes_that_should_have_same_len_pairs = ['a c'.split()]
     assert_raises(ValueError, a.check_input_attributes)
Example #2
0
 def test_check_attributes_that_should_have_same_len_pairs(self):
     a = InputFileLoaderCheckerSaver()
     a.a = [2, 3]
     a.c = [3]
     a._attributes_that_should_have_same_len_pairs = ['a c'.split()]
     assert_raises(ValueError, a.check_input_attributes)