From: Christopher Allan Webber Date: Mon, 11 Jul 2011 02:51:02 +0000 (-0500) Subject: test_migrations_recorded_as_(latest|zero) tests passing :) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9548c6463b157284dabdc98391afb4c784d1c2a2;p=mediagoblin.git test_migrations_recorded_as_(latest|zero) tests passing :) --- diff --git a/mediagoblin/tests/test_migrations.py b/mediagoblin/tests/test_migrations.py index f999a794..527655bc 100644 --- a/mediagoblin/tests/test_migrations.py +++ b/mediagoblin/tests/test_migrations.py @@ -356,11 +356,13 @@ class TestMigrations(object): Make sure that if we don't have a migration_status pre-recorded it's marked as the latest """ - pass + self.migration_manager.install_migration_version_if_missing() + assert self.migration_manager.database_current_migration() == 4 def test_no_migrations_recorded_as_zero(self): """ Make sure that if we don't have a migration_status but there *are* no migrations that it's marked as 0 """ - pass + self.empty_migration_manager.install_migration_version_if_missing() + assert self.empty_migration_manager.database_current_migration() == 0