def test_process_owner_not_eq_str_gives_correct_json_representation(): _filter = ProcessOwner.not_eq("test_owner") expected = IS_NOT.format("processOwner", "test_owner") assert str(_filter) == expected
def test_process_owner_not_in_str_gives_correct_json_representation(): items = ["owner1", "owner2", "owner3"] _filter = ProcessOwner.not_in(items) expected = NOT_IN.format("processOwner", *items) assert str(_filter) == expected
def test_process_owner_not_exists_str_gives_correct_json_representation(): _filter = ProcessOwner.not_exists() expected = NOT_EXISTS.format("processOwner") assert str(_filter) == expected