Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for test in testcases:
- if hasattr(test, 'groups'):
- if any(group in test.groups for group in mandatory_classes):
- continue
- if all(group in test.groups for group in ['event', 'validation'] and group not in ['remain']) or all(
- group in test.groups for group in ['event', 'clean']) or all(
- group in test.groups for group in ['backend', 'validation']) :
- excluded_classes.append(test)
- continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement