Ejemplo n.º 1
0
 def test_path(self):
     self.assertTrue(common.not_buildroot(self.Path('foo')))
     self.assertFalse(common.not_buildroot(self.Path('.')))
     self.assertTrue(common.not_buildroot(self.Path('.', Root.srcdir)))
Ejemplo n.º 2
0
 def test_misc(self):
     self.assertTrue(common.not_buildroot('foo'))
Ejemplo n.º 3
0
 def test_none(self):
     self.assertFalse(common.not_buildroot(None))