Exemplo n.º 1
0
 def test_finds_namespace_simple(self):
     cp = RuleLoader("test.yaml")
     self.assertEquals("test", cp._find_default_namespace())
Exemplo n.º 2
0
 def test_finds_namespace_simple(self):
     cp = RuleLoader("test.yaml")
     self.assertEquals("test", cp._find_default_namespace())
Exemplo n.º 3
0
 def test_finds_namespace_withpath(self):
     cp = RuleLoader("foo/bar/test.yaml")
     self.assertEquals("test", cp._find_default_namespace())
     self.assertEquals("test", cp.namespace)
Exemplo n.º 4
0
 def test_finds_namespace_withpath(self):
     cp = RuleLoader("foo/bar/test.yaml")
     self.assertEquals("test", cp._find_default_namespace())
     self.assertEquals("test", cp.namespace)