-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Add integration test to cover generated .repo files
This test is different from the usual package managers tests, since it uses a file that is RPM-specific and that also is a .toml file. This means that the boilerplate needs to be customized for this specific case. For now, I wrote a very straightforward solution, but I am thinking if there's a way to make it more generic and fit it into the utils module. I also am checking if testing for the contents of repomd.xml is worth the trouble, since it includes some timestamps that will need to be worked around. Signed-off-by: Bruno Pimentel <[email protected]>
- Loading branch information
1 parent
3d7b199
commit 9f24061
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[releases] | ||
baseurl=file:///tmp/test_repo_files-output/deps/rpm/x86_64/releases | ||
gpgcheck=1 |
1 change: 1 addition & 0 deletions
1
tests/integration/test_data/test_repo_files/vendor_sha256sums.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters