summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/data_config.py
blob: ccef72aba267c2f9819139987af69898be06f586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Copyright (C) 2018  FreeIPA Contributors see COPYING for license
#

ENTITY = 'config'

GRP_SEARCH_FIELD_DEFAULT = 'cn,description'
USR_SEARCH_FIELD_DEFAULT = 'uid,givenname,sn,telephonenumber,ou,title'

DATA = {
    'mod': [
        ('textbox', 'ipasearchrecordslimit', '200'),
        ('textbox', 'ipasearchtimelimit', '3'),
    ],
}

DATA2 = {
    'mod': [
        ('textbox', 'ipasearchrecordslimit', '100'),
        ('textbox', 'ipasearchtimelimit', '2'),
    ],
}

DATA_SIZE_LIMIT_LETTER = {
    'mod': [
        ('textbox', 'ipasearchrecordslimit', 'a'),
    ],
}

DATA_SIZE_LIMIT_SPACE = {
    'mod': [
        ('textbox', 'ipasearchrecordslimit', ' space'),
    ],
}

DATA_SIZE_LIMIT_NEG = {
    'mod': [
        ('textbox', 'ipasearchrecordslimit', '-2'),
    ],
}

DATA_TIME_LIMIT_LETTER = {
    'mod': [
        ('textbox', 'ipasearchtimelimit', 'a'),
    ],
}

DATA_TIME_LIMIT_SPACE = {
    'mod': [
        ('textbox', 'ipasearchtimelimit', ' space'),
    ],
}

DATA_TIME_LIMIT_NEG = {
    'mod': [
        ('textbox', 'ipasearchtimelimit', '-2'),
    ],
}