debian-forge-composer/internal/cloudapi/v2
Achilleas Koutsou 68ccc58706 Adapt tests to new test_distro
The new test_distro's manifest produces a slightly different empty
manifest when serialized even without content.  Cloud API and Koji tests
have been adapted to match.

Weldr tests have been updated in several ways:
- The test_distro content resolver is used to resolve manifest content
  before serializing.
- The test scenarios in TestCompose have been named for easier
  troubleshooting (easier to identify a failing test by name).
- Manifests that work with the secondary ostree repo (the "other") use
  the appropriate URL and ref and create a secondary "other" serialized
  manifest.

The weldr API's test flag for resolving ostree commits does not produce
the same, fixed hash every time but instead computes a sha256 from the
URL + ref, like we do in the test manifests.
2023-06-14 11:19:29 +02:00
..
errors.go Cloud API: add error for failed customization validation 2023-02-22 12:17:36 +01:00
errors_test.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
handler.go cloudapi: add vsphere-ova type 2023-06-05 11:22:07 +02:00
middleware.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
openapi.v2.gen.go cloudapi: add vsphere-ova type 2023-06-05 11:22:07 +02:00
openapi.v2.yml cloudapi: add vsphere-ova type 2023-06-05 11:22:07 +02:00
server.go cloudapi: generate manifest once 2023-06-14 11:19:29 +02:00
v2_internal_test.go internal/rpmmd: change ignoressl to pointer 2023-05-31 16:24:36 +02:00
v2_koji_test.go Adapt tests to new test_distro 2023-06-14 11:19:29 +02:00
v2_multi_tenancy_test.go cloudapi: Correctly test dependency errors 2022-08-03 13:51:52 +02:00
v2_test.go Adapt tests to new test_distro 2023-06-14 11:19:29 +02:00