Skip to content

Commit

Permalink
Ignore 'prn' field on metadata comparing tests
Browse files Browse the repository at this point in the history
The prn field is not RPM metadata, it is pulp specific metadata,
so this can be safely ignored.

Prn was introduced in pulp/pulpcore#5813
  • Loading branch information
pedro-psb committed Oct 2, 2024
1 parent dd4d214 commit 98f1743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulp_rpm/tests/functional/api/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ def test_core_metadata(init_and_sync, rpm_package_api):
diff = dictdiffer.diff(
package,
RPM_COMPLEX_PACKAGE_DATA,
ignore={"time_file", "pulp_created", "pulp_last_updated", "pulp_href"},
ignore={"time_file", "pulp_created", "pulp_last_updated", "pulp_href", "prn"},
)
assert list(diff) == [], list(diff)

Expand Down

0 comments on commit 98f1743

Please sign in to comment.