Revision c51f3905
Nouveau modèle pour la gestion des dépendances + adaptation des autres composants.
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@5359 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigiboard/tests/functional/plugins/test_details_plugin.py | ||
---|---|---|
55 | 55 |
command=u'', |
56 | 56 |
weight=42, |
57 | 57 |
servicename=u'baz', |
58 |
op_dep=u'&', |
|
59 | 58 |
) |
60 | 59 |
DBSession.add(service) |
61 | 60 |
DBSession.flush() |
vigiboard/tests/functional/plugins/test_plugin_hls.py | ||
---|---|---|
80 | 80 |
|
81 | 81 |
# Création de services de haut niveau dans la BDD. |
82 | 82 |
hls_template = { |
83 |
'op_dep': u'&', |
|
84 | 83 |
'message': u'Bar', |
85 | 84 |
'warning_threshold': 60, |
86 | 85 |
'critical_threshold': 80, |
vigiboard/tests/functional/test_correvents_table.py | ||
---|---|---|
66 | 66 |
# Création des services techniques de test. |
67 | 67 |
service_template = { |
68 | 68 |
'command': u'halt', |
69 |
'op_dep': u'+', |
|
70 | 69 |
'weight': 42, |
71 | 70 |
} |
72 | 71 |
|
vigiboard/tests/functional/test_history_table.py | ||
---|---|---|
51 | 51 |
host = managerhost, |
52 | 52 |
servicename = u'managerservice', |
53 | 53 |
command = u'halt', |
54 |
op_dep = u'+', |
|
55 | 54 |
weight = 42, |
56 | 55 |
) |
57 | 56 |
DBSession.add(managerservice) |
vigiboard/tests/functional/test_raw_events_table.py | ||
---|---|---|
80 | 80 |
host = managerhost, |
81 | 81 |
servicename = u'managerservice', |
82 | 82 |
command = u'halt', |
83 |
op_dep = u'+', |
|
84 | 83 |
weight = 42, |
85 | 84 |
) |
86 | 85 |
DBSession.add(managerservice) |
vigiboard/tests/functional/test_root.py | ||
---|---|---|
66 | 66 |
host = host1, |
67 | 67 |
servicename = u'service1', |
68 | 68 |
command = u'halt', |
69 |
op_dep = u'+', |
|
70 | 69 |
weight = 42, |
71 | 70 |
) |
72 | 71 |
DBSession.add(service1) |
... | ... | |
75 | 74 |
host = host2, |
76 | 75 |
servicename = u'service2', |
77 | 76 |
command = u'halt', |
78 |
op_dep = u'+', |
|
79 | 77 |
weight = 42, |
80 | 78 |
) |
81 | 79 |
DBSession.add(service2) |
vigiboard/tests/functional/test_search_form_service.py | ||
---|---|---|
46 | 46 |
command=u'', |
47 | 47 |
weight=42, |
48 | 48 |
servicename=u'baz', |
49 |
op_dep=u'&', |
|
50 | 49 |
) |
51 | 50 |
DBSession.add(service) |
52 | 51 |
DBSession.flush() |
Also available in: Unified diff