table.drop()
@testing.supported('sqlite')
+ @testing.exclude('sqlite', '<', (3, 3))
def test_empty_insert_pk1(self):
self._test_empty_insert(
Table('a', MetaData(testbase.db),
Column('id', Integer, primary_key=True)))
@testing.supported('sqlite')
+ @testing.exclude('sqlite', '<', (3, 3))
def test_empty_insert_pk2(self):
self.assertRaises(
exceptions.DBAPIError,
Column('y', Integer, primary_key=True)))
@testing.supported('sqlite')
+ @testing.exclude('sqlite', '<', (3, 3))
def test_empty_insert_pk3(self):
self.assertRaises(
exceptions.DBAPIError,
primary_key=True)))
@testing.supported('sqlite')
+ @testing.exclude('sqlite', '<', (3, 3))
def test_empty_insert_pk4(self):
self._test_empty_insert(
Table('d', MetaData(testbase.db),
Column('y', Integer, PassiveDefault('123'))))
@testing.supported('sqlite')
+ @testing.exclude('sqlite', '<', (3, 3))
def test_empty_insert_nopk1(self):
self._test_empty_insert(
Table('e', MetaData(testbase.db),
Column('id', Integer)))
@testing.supported('sqlite')
+ @testing.exclude('sqlite', '<', (3, 3))
def test_empty_insert_nopk2(self):
self._test_empty_insert(
Table('f', MetaData(testbase.db),