Ejemplo n.º 1
0
 def test_resource_getter(self):
     resources = self.ns.get_resources(self.tcf)
     assert_equals(len(resources), 8)
     paths = []
     for res in resources:
         normalized = normpath(res.source)
         assert_false(normalized in paths)
         paths.append(normalized)
Ejemplo n.º 2
0
 def test_resource_getter(self):
     resources = self.ns.get_resources(self.tcf)
     assert_equals(len(resources), 8)
     paths = []
     for res in resources:
         normalized = normpath(res.source)
         assert_false(normalized in paths)
         paths.append(normalized)