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
Perhaps we should make one specific for package managers and one that's more general for any executable (e.g. lsof). but that's up for debate.
My general suggestion is to turn these couple of lines into a decorator provided by pulp-smash to avoid copy-pasting and facilitate other plugins (like debian) doing something similar.
+1 I like the idea of transforming all the skip functions into decorators.
we can add the decorator functionality while keeping the backwards compatibility with the old style and allow the function to be used in specific cases where a decorator is not a fit.
I have implemented stuff like this in robozilla[1]
Perhaps we should make one specific for package managers and one that's more general for any executable (e.g. lsof). but that's up for debate.
My general suggestion is to turn these couple of lines into a decorator provided by pulp-smash to avoid copy-pasting and facilitate other plugins (like debian) doing something similar.
https://github.com/pulp/pulp_rpm/blob/master/pulp_rpm/tests/functional/api/test_consume_content.py#L38
The text was updated successfully, but these errors were encountered: