Beispiel #1
0
 def test_invalid_position_type(self):
     with self.assertRaises(AssertionError):
         ConcatPosition(None, position=1)
Beispiel #2
0
 def test_valid_position_type(self):
     ConcatPosition(None, position=ReaderPosition())
Beispiel #3
0
 def test_valid_concat_position_type(self):
     ReaderPosition(concat_position=ConcatPosition(None, None))