diff --git a/tests/db_import_test.py b/tests/db_import_test.py index aa4d53f..f84f46c 100644 --- a/tests/db_import_test.py +++ b/tests/db_import_test.py @@ -29,6 +29,10 @@ class TestDBMethods(unittest.TestCase): ) ) DBRevision.import_obs_rev(self.db, test_rev) + db_rev = DBRevision.fetch_revision( + self.db, project="openSUSE:Factory", package="xz", rev="70" + ) + self.assertEqual(str(test_rev), str(db_rev)) if __name__ == "__main__":