Prepare link collection

This commit is contained in:
Stephan Kulow
2022-10-18 13:13:52 +02:00
parent 25b45c5073
commit 95412bc834
5 changed files with 64 additions and 30 deletions

View File

@@ -2,6 +2,7 @@ import unittest
import xml.etree.ElementTree as ET
from lib.db import DB
from lib.db_revision import DBRevision
from lib.history import History
from lib.obs import OBS
from lib.obs_revision import OBSRevision
@@ -27,7 +28,7 @@ class TestDBMethods(unittest.TestCase):
</revision>"""
)
)
self.db.import_rev(test_rev)
DBRevision.import_obs_rev(self.db, test_rev)
if __name__ == "__main__":