Merge remote-tracking branch 'upstream/master'

This commit is contained in:
xrotwang
2014-11-06 10:13:04 +01:00
6 changed files with 15 additions and 7 deletions
+3
View File
@@ -38,6 +38,9 @@ class DatabaseTestCase(unittest.TestCase):
def test_tables(self):
assert self.db.tables == ['weather'], self.db.tables
def test_contains(self):
assert 'weather' in self.db, self.db.tables
def test_create_table(self):
table = self.db['foo']
assert table.table.exists()