debian-koji-osbuild/test/unit
Tomáš Hozza 68ee7eedbe hub: mark baseurl as required in repo schema
Previously it the `repo` schema didn't mark the `baseurl` property as
required, although Cloud API "technically" requires it and the builder
code also made assumptions about it being always provided.

Note on Cloud API:
Cloud API requires that at least one of `baseurl`, `metalink` or
`mirrorlist` is specified for a repo. Since the plugin schema specifies
only `baseurl` as a property, it is as a result mandatory in order for
the Cloud API request to be valid and succeed.

Mark `baseurl` property as required in the `repo` schema and add unit
test for it.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-01-05 14:44:04 +01:00
..
plugintest.py test: use importlib instead of imp 2021-10-05 12:18:46 +02:00
test_builder.py Support specifying upload options for image builds 2022-08-31 13:13:24 +02:00
test_cli.py Drop support for specifying more than one image type 2022-08-22 09:58:06 +02:00
test_hub.py hub: mark baseurl as required in repo schema 2023-01-05 14:44:04 +01:00