Exemplo n.º 1
0
 def test_is_github(self):
     self.assertFalse(dbutil.is_github(tests.db('empty')))
     self.assertTrue(dbutil.is_github(tests.db('empty-gh')))
Exemplo n.º 2
0
 def test_table_exists(self):
     self.assertTrue(dbutil.table_exists(
         tests.db('empty'), 'ContentFiles'))
     self.assertFalse(dbutil.table_exists(
         tests.db('empty'), 'NotATable'))
Exemplo n.º 3
0
 def test_table_exists(self):
     self.assertTrue(dbutil.table_exists(tests.db('empty'), 'ContentFiles'))
     self.assertFalse(dbutil.table_exists(tests.db('empty'), 'NotATable'))
Exemplo n.º 4
0
 def test_is_github(self):
     self.assertFalse(dbutil.is_github(tests.db('empty')))
     self.assertTrue(dbutil.is_github(tests.db('empty-gh')))