mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-11 10:34:30 +08:00
Remove fake base-runtime module from DB and old resolve_profiles method because they are not used anymore. Fix the tests to work with remove fake base-runtime.
This commit is contained in:
@@ -33,16 +33,4 @@ class TestModels(unittest.TestCase):
|
||||
def setUp(self):
|
||||
init_data()
|
||||
|
||||
def test_resolve_refs(self):
|
||||
expected = set([
|
||||
'shadow-utils',
|
||||
'fedora-release',
|
||||
'redhat-rpm-config',
|
||||
'rpm-build',
|
||||
'fedpkg-minimal',
|
||||
'gnupg2',
|
||||
'bash',
|
||||
])
|
||||
build = db.session.query(models.ModuleBuild).filter_by(name='testmodule').one()
|
||||
result = build.resolve_profiles(db.session, 'srpm-buildroot')
|
||||
eq_(result, expected)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user