mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-03 10:48:03 +08:00
Add KojiResolver to config.SUPPORTED_RESOLVERS.
This commit is contained in:
@@ -20,6 +20,7 @@ SUPPORTED_RESOLVERS = {
|
||||
"mbs": {"builders": ["mock"]},
|
||||
"db": {"builders": ["koji", "mock", "copr"]},
|
||||
"local": {"builders": ["mock"]},
|
||||
"koji": {"builders": ["koji"]},
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -243,3 +243,7 @@ class TestLocalResolverModule:
|
||||
states=[BUILD_STATES["ready"]])
|
||||
|
||||
assert len(result) == 0
|
||||
|
||||
def test_supported_builders(self):
|
||||
ret = mbs_resolver.KojiResolver.KojiResolver.supported_builders()
|
||||
assert set(ret) == {"koji", "test", "testlocal"}
|
||||
|
||||
Reference in New Issue
Block a user