forked from importers/git-importer
Testing to fetch it back
This commit is contained in:
parent
d747a3a761
commit
1a750f2171
@ -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__":
|
||||
|
Loading…
Reference in New Issue
Block a user