debian-forge-composer/internal/ostree
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
..
mock_ostree_repo Adapt tests to new test_distro 2023-06-14 11:19:29 +02:00
test_mtls_server Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
errors.go ostree: rename errors and introduce ParameterComboError 2022-02-23 11:08:24 +01:00
ostree.go image: add ostree commit source when initialising manifest 2023-06-14 11:19:29 +02:00
ostree_test.go rhsm: remove CA from consumer secrets 2022-11-21 10:27:15 +01:00