Revision 348eec2c
Fix broken references to models renamed in svn rev [674].
git grep wEl 'Events|GraphGroups|Groups|HostGroups|ServiceGroups' - \
{vigiboard,models,correlator,connector,glue,vigicore} \
|xargs sed -i -re 's:\<(Event|GraphGroup|Group|HostGroup|ServiceGroup)s\>:\1:g'
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@695 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigiboard/controllers/vigiboard_plugin/tests.py | ||
---|---|---|
6 | 6 |
|
7 | 7 |
from vigiboard.controllers.vigiboard_plugin.shn import \ |
8 | 8 |
PluginSHN |
9 |
from vigiboard.model import EventHistory, Events
|
|
9 |
from vigiboard.model import EventHistory, Event |
|
10 | 10 |
|
11 | 11 |
class MonPlugin(PluginSHN): |
12 | 12 |
"""Plugin de test""" |
... | ... | |
15 | 15 |
PluginSHN.__init__( |
16 | 16 |
self, |
17 | 17 |
table = [EventHistory.idevent], |
18 |
join = [(EventHistory, EventHistory.idevent == Events.idevent)]
|
|
18 |
join = [(EventHistory, EventHistory.idevent == Event.idevent)] |
|
19 | 19 |
) |
20 | 20 |
|
21 | 21 |
def show(self, req): |
Also available in: Unified diff