Enable tests depending on Reddwarf Client version
Registered by
Tim Simpson
Inspired by Dan Nguyen's limit tests here: https:/
We need a function decorator that will raise SkipTest if the client isn't at a certain version. We could do this by either embedding the version number in the client, which would force us to duplicate the client number twice, or we could use the pkg_resources package to determine the version of the client in use.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Tim Simpson
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Tim Simpson
Related branches
Related bugs
Sprints
Whiteboard
I'm going to try to close this.
My issue with it is this defeats the purpose of having gating jobs. We can accept code that has tests which don't even run, making them useless. So if anyone makes a mistake, the jobs won't catch it.
(?)