Beispiel #1
0
 def test_ok_with_different_delimiter(self):
     testee = ResultFilter(
         BAD_KEYS, criteria_delim='^'
     )
     result = testee.apply('level2.5^level35')
     self._assert_type_str(result)
     self.assertEquals('item_level35', result)
Beispiel #2
0
 def setUp(self):
     self.testee = ResultFilter(TWO_LEVEL)
Beispiel #3
0
 def setUp(self):
     self.testee = ResultFilter(SIMPLE)
Beispiel #4
0
 def setUp(self):
     self.testee = ResultFilter(BAD_KEYS)
Beispiel #5
0
 def setUp(self):
     self.testee = ResultFilter(ONE_LEVEL_REPEATS_WITH_LIST)