예제 #1
0
 def test_tmpl_regular_expression_with_valid_template_paths(
         self, path, config_key):
     m = TEMPLATED_RE.search(path)
     if m:
         ok_(m.group(2).strip() == config_key)
예제 #2
0
 def test_tmpl_regular_expression_with_invalid_template_paths(self, path):
     m = TEMPLATED_RE.search(path)
     ok_(m is None)