Ejemplo n.º 1
0
 def test_should_find_prefix(self):
     self.assertFalse(
         findundefined._not_found("foo.bar.baz", ["foo", "bar", "baz"]))
     self.assertFalse(
         findundefined._not_found("foo.bar.baz.qux", ["foo.bar"]))
Ejemplo n.º 2
0
 def test_should_find_prefix(self):
     self.assertFalse(findundefined._not_found("foo.bar.baz", ["foo", "bar", "baz"]))
     self.assertFalse(findundefined._not_found("foo.bar.baz.qux", ["foo.bar"]))
Ejemplo n.º 3
0
 def test_should_find_direct_reference(self):
     self.assertFalse(findundefined._not_found("foo",
                                               ["foo", "bar", "baz"]))
     self.assertFalse(
         findundefined._not_found("foo.bar", ["foo.bar", "baz.qux"]))
Ejemplo n.º 4
0
 def test_should_find_direct_reference(self):
     self.assertFalse(findundefined._not_found("foo", ["foo", "bar", "baz"]))
     self.assertFalse(findundefined._not_found("foo.bar", ["foo.bar", "baz.qux"]))