示例#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)))
示例#2
0
 def test_misc(self):
     self.assertTrue(common.not_buildroot('foo'))
示例#3
0
 def test_none(self):
     self.assertFalse(common.not_buildroot(None))