| |
@@ -111,7 +111,6 @@
|
| |
|
| |
class TestfuncUpdateSync(object):
|
| |
def setup_method(self, method):
|
| |
- db.session.flush()
|
| |
db.session.rollback()
|
| |
db.drop_all()
|
| |
db.create_all()
|
| |
@@ -128,6 +127,11 @@
|
| |
db.session.commit()
|
| |
self.update_sync = UpdateSync(db, FakeBodhiInterface)
|
| |
|
| |
+ def teardown_method(self, method):
|
| |
+ db.session.rollback()
|
| |
+ db.session.close()
|
| |
+ db.drop_all()
|
| |
+
|
| |
def test_sync_single_bug_with_one_update(self):
|
| |
bug1 = add_bug(2000, 'testbug1', self.test_milestone99alpha)
|
| |
self.update_sync.sync_updates(self.test_release99)
|
| |
Please see individual commits' description.
This depends on #170.