diff --git a/tests/ceo/cli/test_groups.py b/tests/ceo/cli/test_groups.py index 3cbfd89..3b8ca4d 100644 --- a/tests/ceo/cli/test_groups.py +++ b/tests/ceo/cli/test_groups.py @@ -81,23 +81,6 @@ def test_groups(cli_setup, ldap_user): "touch", "error", "happy", - "moon", - "decisive", - "exciting", - "super", - "ambitious", - "acidic", - "addition", - "blue-eyed", - "grate", - "replace", - "natural", - "explode", - "decorous", - "wide", - "hang", - "tomatoes", - "thirsty", ] runner = CliRunner() for name in group_names: diff --git a/tests/ceod/api/test_groups.py b/tests/ceod/api/test_groups.py index 17b408b..00679af 100644 --- a/tests/ceod/api/test_groups.py +++ b/tests/ceod/api/test_groups.py @@ -113,158 +113,11 @@ def test_api_add_member_to_group(client, create_group_result, ldap_user): @pytest.fixture(scope='module') def create_random_names(): - # 150 random names generated with https://www.randomlists.com/random-words + # generated with https://www.randomlists.com/random-words random_names = [ "intelligent", "skin", "shivering", - "hapless", - "abstracted", - "kiss", - "decision", - "van", - "advise", - "parcel", - "disillusioned", - "print", - "skate", - "robin", - "explode", - "fearless", - "feeling", - "chemical", - "identify", - "baseball", - "room", - "contain", - "smooth", - "play", - "fierce", - "north", - "secretive", - "plug", - "rely", - "home", - "push", - "guard", - "allow", - "depressed", - "evasive", - "slap", - "delicate", - "concern", - "consider", - "fang", - "roll", - "bait", - "rabbits", - "guarded", - "abnormal", - "loutish", - "voracious", - "chase", - "army", - "harsh", - "grieving", - "tacky", - "far", - "wise", - "street", - "price", - "bikes", - "post", - "afternoon", - "deranged", - "cart", - "evanescent", - "shrill", - "uppity", - "adhoc", - "alleged", - "round", - "smart", - "support", - "plantation", - "flap", - "pretty", - "radiate", - "excite", - "memorize", - "whisper", - "thoughtless", - "substantial", - "upset", - "pathetic", - "flow", - "shake", - "wail", - "share", - "songs", - "scream", - "aspiring", - "overwrought", - "mass", - "romantic", - "deliver", - "anxious", - "laborer", - "angry", - "faded", - "wish", - "homeless", - "salty", - "start", - "crooked", - "tremble", - "enjoy", - "chivalrous", - "useless", - "womanly", - "brake", - "wandering", - "please", - "cow", - "reason", - "expert", - "null", - "basket", - "early", - "river", - "prevent", - "sticks", - "vacation", - "eggnog", - "receive", - "memory", - "exchange", - "burly", - "agreement", - "flock", - "subdued", - "clap", - "simplistic", - "tiger", - "responsible", - "knock", - "camera", - "nifty", - "capable", - "disappear", - "afterthought", - "obese", - "harass", - "delicious", - "badge", - "dam", - "plate", - "acrid", - "voiceless", - "mate", - "juice", - "food", - "town", - "giraffe", - "decorate" ] yield random_names @@ -286,16 +139,9 @@ def test_api_group_search(client, create_searchable_groups): cns = create_searchable_groups # pairs of cn indices as well as amount of results that should be returned random_numbers = [ - (88, 68), - (117, 54), - (63, 97), - (64, 19), - (114, 98), - (45, 146), - (58, 12), - (42, 126), - (66, 137), - (39, 135), + (0, 68), + (1, 54), + (2, 97), ] for tup in random_numbers: