Closed dralley closed 5 years ago
@dralley, thank you for update the tests.
Is there a specific version of Pulp that this change will be effective?
I am assuming any version after 2.20. We should add a logic to assure that this test does not fail in a earlier version of Pulp. Let me find an example.
A minor suggestion is to update the docstring with the number of issue related to this change. This can be very helpful later on.
Oh, and +1 @dralley for making these changes! Awesome job!
@kersommoura @bherrin3 Updated
Ack a conversation with @dralley as he feels the parent PR (https://github.com/pulp/pulp_rpm/pull/1400) will be merged shortly.
Else we could update with the following, if there is a source Redmine Issue for XXXX
and merge now.:
if cls.cfg.pulp_version < Version('2.21'):
raise unittest.SkipTest('This test requires Pulp 2.21 or newer.')
if not selectors.bug_is_fixed(XXXX, cls.cfg.pulp_version):
raise unittest.SkipTest('https://pulp.plan.io/issues/XXXX')
1400 merged
@dralley, thanks.
re: #5055 https://pulp.plan.io/issues/5055
Dep: https://github.com/pulp/pulp_rpm/pull/1400