def test_get_all_koji_targets(self): targets = get_all_koji_targets() assert targets assert "Name" not in targets assert "rawhide" in targets assert "epel8" in targets assert all(isinstance(target, str) for target in targets)
def supported_koji_targets(self): if self._supported_koji_targets is None: self._supported_koji_targets = get_all_koji_targets() return self._supported_koji_targets