Add KojiResolver to config.SUPPORTED_RESOLVERS.

This commit is contained in:
Jan Kaluza
2019-10-07 12:52:13 +02:00
parent 5ffdeb4649
commit 339c1ef98d
2 changed files with 5 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ SUPPORTED_RESOLVERS = {
"mbs": {"builders": ["mock"]},
"db": {"builders": ["koji", "mock", "copr"]},
"local": {"builders": ["mock"]},
"koji": {"builders": ["koji"]},
}

View File

@@ -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"}