Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. for test in testcases:
  2. if hasattr(test, 'groups'):
  3. if any(group in test.groups for group in mandatory_classes):
  4. continue
  5. if all(group in test.groups for group in ['event', 'validation'] and group not in ['remain']) or all(
  6. group in test.groups for group in ['event', 'clean']) or all(
  7. group in test.groups for group in ['backend', 'validation']) :
  8. excluded_classes.append(test)
  9. continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement