more test cases

This commit is contained in:
Jack Robison 2019-07-19 10:37:15 -04:00
parent 8f45618cd0
commit c2dcacb0de
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -24,6 +24,16 @@ DEFAULT_ANY_TAGS = [
'nature'
]
COMMON_AND_RARE = [
'gaming',
'ufos'
]
RARE_ANY_TAGS = [
'city fix',
'ufos',
]
MATURE_TAGS = [
'porn',
'nsfw',
@ -47,10 +57,10 @@ ORDER_BY = [
def get_args(limit=20):
args = []
any_tags_combinations = [DEFAULT_ANY_TAGS, []]
any_tags_combinations = [DEFAULT_ANY_TAGS, COMMON_AND_RARE, RARE_ANY_TAGS, []]
not_tags_combinations = [MATURE_TAGS, []]
for no_totals in [True]:
for offset in [0, 20, 40, 60, 80, 100, 1000, 2000, 3000]:
for offset in [0, 100, 2000]:
for any_tags in any_tags_combinations:
for not_tags in not_tags_combinations:
for order_by in ORDER_BY: