pulp / Pulp-2-Tests

:warning: ⛔️ Pulp2 is EOL as of November 30 2022, for more info visit this link https://pulpproject.org/2022/09/19/pulp-2-eol/. ⛔️ Functional tests for Pulp 2.
https://pulp-2-tests.readthedocs.io/
1 stars 11 forks source link

Update rpm/api_v2/test_copy.py to use constants.py values instead of hardcoded integers.Ac #174

Closed bherrin3 closed 1 year ago

bherrin3 commented 5 years ago

Problem

The test rpm/api_v2/test_copy.py has the usage of integers and hardcoded values for comparison of items like RPM names, version, and returned count.

Action

Create a new dict in constants.py which will be sourced in and referenced throughout the whole file.

Verification