Ejemplo n.º 1
0
 def test_relative_path(self):
     pkg = PkgResources("vumi.tests")
     self.assertEqual(os.path.join(self.vumi_tests_path, 'foo/bar'),
                      pkg.path('foo/bar'))
Ejemplo n.º 2
0
 def test_relative_path(self):
     pkg = PkgResources("vumi.tests")
     self.assertEqual(os.path.join(self.vumi_tests_path, 'foo/bar'),
                      pkg.path('foo/bar'))
Ejemplo n.º 3
0
 def test_absolute_path(self):
     pkg = PkgResources("vumi.tests")
     self.assertEqual('/foo/bar', pkg.path('/foo/bar'))
Ejemplo n.º 4
0
 def test_absolute_path(self):
     pkg = PkgResources("vumi.tests")
     self.assertEqual('/foo/bar', pkg.path('/foo/bar'))