Instead of testing the legacy `SourcesServer` and `sources.get`, test the `Source.download` method, which is the new and exclusive way how sources are used in osbuild. For this, the complete info for a specific source is now included the specific test case. For the `org.osbuild.curl` source this means that the respective information is moved from `sources.json`, which is then unused and thus removed. The test case that checks for an unknown checksum is also removed because `Source.download` just fetches everything instead of a subset.
6 lines
74 B
JSON
6 lines
74 B
JSON
{
|
|
"expects": "success",
|
|
"org.osbuild.curl": {
|
|
"items": {}
|
|
}
|
|
}
|