Пример #1
0
 def test_blows_up_on_missing_dollar(self):
     target_clear_pattern.parseString("clear foo")
Пример #2
0
 def test_one_name_captured(self):
     assert len(target_clear_pattern.parseString("clear $foo")) == 1
Пример #3
0
 def test_doesnt_blow_up_on_good_input(self):
     target_clear_pattern.parseString("clear $foo")