You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests in modules tests.platform.api_v2.test_user and tests.platform.api_v2.test_repository could use some refactoring. They were my first pass at writing tests in Pulp Smash, and while reasonably good, there's a few things that really bug me about their structure. There's repetitive setUpClass and tearDownClass code, there's a few too many class variables, and the use of numeric indices makes the tests less readable. (See #28 (comment).) Let's refactor them to hew more closely to the example in tests.platform.api_v2.test_search.
The text was updated successfully, but these errors were encountered:
The tests in modules
tests.platform.api_v2.test_user
andtests.platform.api_v2.test_repository
could use some refactoring. They were my first pass at writing tests in Pulp Smash, and while reasonably good, there's a few things that really bug me about their structure. There's repetitivesetUpClass
andtearDownClass
code, there's a few too many class variables, and the use of numeric indices makes the tests less readable. (See #28 (comment).) Let's refactor them to hew more closely to the example intests.platform.api_v2.test_search
.The text was updated successfully, but these errors were encountered: