Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Jun 11, 2024
1 parent 4efef52 commit 028ea1c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/metadata/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,26 @@ def test_metadata_encoder(unencoded, encoded):
},
},
),
(
"24.12.00",
[],
{
"versions": {
"24.12": {
"repositories": {
"repo2": {
"packages": {
"package": {
"has_cuda_suffix": True,
"has_alpha_spec": True,
},
},
},
},
},
},
},
),
(
None,
["--all-versions"],
Expand Down

0 comments on commit 028ea1c

Please sign in to comment.