vigiboard / pylint_results @ 9c0dbb6a
History | View | Annotate | Download (42.4 KB)
1 |
************* Module setup |
---|---|
2 |
C0111: 1: Missing docstring |
3 |
************* Module pylint_projectname |
4 |
C0301: 49: Line too long (84/80) |
5 |
C0103: 19: Invalid name "FILES" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
6 |
C0103: 21: Invalid name "FILES" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
7 |
C0103: 30: Invalid name "SUPRESSED_MESSAGES" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
8 |
C0103: 48: Invalid name "PARAMS" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
9 |
************* Module ez_setup.__init__ |
10 |
C0301: 18: Line too long (86/80) |
11 |
C0301: 89: Line too long (81/80) |
12 |
W0511: 98: XXX could we install in a subprocess here? |
13 |
************* Module ez_setup |
14 |
C0103: 17: Invalid name "DEFAULT_VERSION" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
15 |
C0103: 18: Invalid name "DEFAULT_URL" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
16 |
W0404: 50: Reimport 'sys' (imported line 16) |
17 |
C0111: 52:_validate_md5: Missing docstring |
18 |
C0323: 57:_validate_md5: Operator not followed by a space |
19 |
print >>sys.stderr, ( |
20 |
^ |
21 |
"md5 validation of %s failed! (Possible download problem?)" |
22 |
% egg_name |
23 |
C0323: 83:use_setuptools: Operator not followed by a space |
24 |
print >>sys.stderr, ( |
25 |
^ |
26 |
"You have an obsolete version of setuptools installed. Please\n" |
27 |
C0321: 91:use_setuptools: More than one statement on a single line |
28 |
C0103: 97:use_setuptools: Invalid name "e" (should match [a-z_][a-z0-9_]{2,30}$) |
29 |
C0323: 99:use_setuptools: Operator not followed by a space |
30 |
print >>sys.stderr, ( |
31 |
^ |
32 |
"The required version of setuptools (>=%s) is not available, and\n" |
33 |
"can't be installed while this script is running. Please install\n" |
34 |
" a more recent version first.\n\n(Currently using %r)" |
35 |
) % (version, e.args[0]) |
36 |
C0324:118:download_setuptools: Comma not followed by a space |
37 |
egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) |
38 |
^^ |
39 |
C0321:141:download_setuptools: More than one statement on a single line |
40 |
C0321:147:download_setuptools: More than one statement on a single line |
41 |
C0321:149:download_setuptools: More than one statement on a single line |
42 |
C0321:150:download_setuptools: More than one statement on a single line |
43 |
W0612:117:download_setuptools: Unused variable 'shutil' |
44 |
W0621:163:main: Redefining name 'main' from outer scope (line 153) |
45 |
C0324:162:main: Comma not followed by a space |
46 |
sys.path.insert(0,egg) |
47 |
^^ |
48 |
W0404:179:main: Reimport 'main' (imported line 163) |
49 |
W0404:186:main: Reimport 'main' (imported line 163) |
50 |
C0324:189:main: Comma not followed by a space |
51 |
print "Setuptools version",version,"or greater has been installed." |
52 |
^^ |
53 |
C0103:202:update_md5: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
54 |
C0103:212:update_md5: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
55 |
C0321:212:update_md5: More than one statement on a single line |
56 |
C0323:216:update_md5: Operator not followed by a space |
57 |
print >>sys.stderr, "Internal error!" |
58 |
^ |
59 |
C0103:220:update_md5: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
60 |
C0322:225: Operator not preceded by a space |
61 |
if __name__=='__main__': |
62 |
^^ |
63 |
************* Module ui_dialog |
64 |
C0111: 1: Missing docstring |
65 |
C0103: 32: Invalid name "jQuery" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
66 |
W0232: 34:JQueryUIDialog: Class has no __init__ method |
67 |
C0103: 67:JQueryUIDialog.update_params: Invalid name "d" (should match [a-z_][a-z0-9_]{2,30}$) |
68 |
E1002: 67:JQueryUIDialog.update_params: Use super on an old style class |
69 |
C0103: 67:JQueryUIDialog.update_params: Invalid name "d" (should match [a-z_][a-z0-9_]{2,30}$) |
70 |
E1101: 98:JQueryUIDialog.update_params: Instance of 'JQueryUIDialog' has no 'add_call' member |
71 |
R0903: 34:JQueryUIDialog: Too few public methods (1/2) |
72 |
************* Module vigiboard.websetup |
73 |
C0301: 42: Line too long (90/80) |
74 |
W0622: 16:setup_app: Redefining built-in 'vars' |
75 |
E0611: 20:setup_app: No name 'model' in module 'vigiboard' |
76 |
W0613: 16:setup_app: Unused argument 'vars' |
77 |
W0613: 16:setup_app: Unused argument 'command' |
78 |
************* Module vigiboard.model |
79 |
E0611: 4: No name 'sqlalchemy' in module 'zope' |
80 |
C0103: 13: Invalid name "DBSession" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
81 |
C0103: 18: Invalid name "DeclarativeBase" (should match (([a-z_][a-z0-9_]*)|(__.*__))$) |
82 |
E0611: 62: No name 'model' in module 'vigiboard' |
83 |
E0611: 63: No name 'model' in module 'vigiboard' |
84 |
W0401: 63: Wildcard import vigiboard.model.vigiboard_bdd |
85 |
************* Module vigiboard.model.auth |
86 |
E0611: 26: No name 'model' in module 'vigiboard' |
87 |
W0232: 60:Group: Class has no __init__ method |
88 |
R0903: 60:Group: Too few public methods (0/2) |
89 |
W0232: 99:User: Class has no __init__ method |
90 |
C0103:141:User.permissions: Invalid name "g" (should match [a-z_][a-z0-9_]{2,30}$) |
91 |
E1101:141:User.permissions: Instance of 'User' has no 'groups' member |
92 |
W0622:166:User._set_password: Redefining built-in 'hash' |
93 |
W1001:182:User: Use of "property" on an old style class |
94 |
W0232:204:Permission: Class has no __init__ method |
95 |
R0903:204:Permission: Too few public methods (0/2) |
96 |
************* Module vigiboard.model.vigiboard_bdd.service |
97 |
E0611: 8: No name 'model' in module 'vigiboard' |
98 |
R0903: 31:Service: Too few public methods (0/2) |
99 |
************* Module vigiboard.model.vigiboard_bdd.graphtogroups |
100 |
E0611: 9: No name 'model' in module 'vigiboard' |
101 |
R0903: 32:GraphToGroups: Too few public methods (0/2) |
102 |
************* Module vigiboard.model.vigiboard_bdd.graphgroups |
103 |
E0611: 9: No name 'model' in module 'vigiboard' |
104 |
R0903: 26:GraphGroups: Too few public methods (0/2) |
105 |
************* Module vigiboard.model.vigiboard_bdd.servicetopo |
106 |
E0611: 8: No name 'model' in module 'vigiboard' |
107 |
R0903: 30:ServiceTopo: Too few public methods (0/2) |
108 |
************* Module vigiboard.model.vigiboard_bdd.host |
109 |
E0611: 8: No name 'model' in module 'vigiboard' |
110 |
R0902: 44:Host: Too many instance attributes (9/7) |
111 |
R0913: 50:Host.__init__: Too many arguments (10/5) |
112 |
R0903: 44:Host: Too few public methods (0/2) |
113 |
************* Module vigiboard.model.vigiboard_bdd.graph |
114 |
E0611: 8: No name 'model' in module 'vigiboard' |
115 |
R0903: 30:Graph: Too few public methods (0/2) |
116 |
************* Module vigiboard.model.vigiboard_bdd.grouppermissions |
117 |
E0611: 8: No name 'model' in module 'vigiboard' |
118 |
R0903: 29:GroupPermissions: Too few public methods (0/2) |
119 |
************* Module vigiboard.model.vigiboard_bdd.groups |
120 |
E0611: 8: No name 'model' in module 'vigiboard' |
121 |
R0903: 28:Groups: Too few public methods (0/2) |
122 |
************* Module vigiboard.model.vigiboard_bdd.servicegroups |
123 |
E0611: 8: No name 'model' in module 'vigiboard' |
124 |
R0903: 33:ServiceGroups: Too few public methods (0/2) |
125 |
************* Module vigiboard.model.vigiboard_bdd.hostgroups |
126 |
E0611: 8: No name 'model' in module 'vigiboard' |
127 |
R0903: 30:HostGroups: Too few public methods (0/2) |
128 |
************* Module vigiboard.model.vigiboard_bdd.eventhistory |
129 |
E0611: 8: No name 'model' in module 'vigiboard' |
130 |
R0913: 50:EventHistory.__init__: Too many arguments (6/5) |
131 |
R0903: 46:EventHistory: Too few public methods (0/2) |
132 |
************* Module vigiboard.model.vigiboard_bdd.events |
133 |
E0611: 11: No name 'model' in module 'vigiboard' |
134 |
R0902: 57:Events: Too many instance attributes (15/7) |
135 |
R0913: 63:Events.__init__: Too many arguments (16/5) |
136 |
R0914: 63:Events.__init__: Too many local variables (16/15) |
137 |
W0612:114:Events.get_since_date: Unused variable 'seconds' |
138 |
************* Module vigiboard.model.vigiboard_bdd.perfdatasource |
139 |
E0611: 8: No name 'model' in module 'vigiboard' |
140 |
R0913: 51:PerfDataSource.__init__: Too many arguments (7/5) |
141 |
R0903: 45:PerfDataSource: Too few public methods (0/2) |
142 |
************* Module vigiboard.model.vigiboard_bdd |
143 |
E0611: 5: No name 'model' in module 'vigiboard' |
144 |
E0611: 6: No name 'model' in module 'vigiboard' |
145 |
E0611: 7: No name 'model' in module 'vigiboard' |
146 |
E0611: 8: No name 'model' in module 'vigiboard' |
147 |
E0611: 9: No name 'model' in module 'vigiboard' |
148 |
E0611: 10: No name 'model' in module 'vigiboard' |
149 |
E0611: 11: No name 'model' in module 'vigiboard' |
150 |
E0611: 12: No name 'model' in module 'vigiboard' |
151 |
E0611: 13: No name 'model' in module 'vigiboard' |
152 |
E0611: 14: No name 'model' in module 'vigiboard' |
153 |
E0611: 15: No name 'model' in module 'vigiboard' |
154 |
E0611: 16: No name 'model' in module 'vigiboard' |
155 |
E0611: 17: No name 'model' in module 'vigiboard' |
156 |
E0611: 18: No name 'model' in module 'vigiboard' |
157 |
************* Module vigiboard.model.vigiboard_bdd.servicehautniveau |
158 |
E0611: 8: No name 'model' in module 'vigiboard' |
159 |
R0903: 33:ServiceHautNiveau: Too few public methods (0/2) |
160 |
************* Module vigiboard.widgets.edit_event |
161 |
C0103: 15:Edit_Event_Form: Invalid name "Edit_Event_Form" (should match [A-Z_][a-zA-Z0-9]+$) |
162 |
W0232: 15:Edit_Event_Form: Class has no __init__ method |
163 |
R0903: 15:Edit_Event_Form: Too few public methods (0/2) |
164 |
C0103: 32:Search_Form: Invalid name "Search_Form" (should match [A-Z_][a-zA-Z0-9]+$) |
165 |
W0232: 32:Search_Form: Class has no __init__ method |
166 |
R0903: 32:Search_Form: Too few public methods (0/2) |
167 |
************* Module vigiboard.lib.base |
168 |
E0611: 10: No name 'model' in module 'vigiboard' |
169 |
W0232: 15:BaseController: Class has no __init__ method |
170 |
R0903: 15:BaseController: Too few public methods (0/2) |
171 |
W0611: 6: Unused import render |
172 |
W0611: 9: Unused import WidgetBunch |
173 |
W0611: 8: Unused import N_ |
174 |
W0611: 10: Unused import model |
175 |
W0611: 8: Unused import ungettext |
176 |
W0611: 8: Unused import _ |
177 |
************* Module vigiboard.lib.helpers |
178 |
W0611: 5: Unused import html |
179 |
W0611: 5: Unused import feedgenerator |
180 |
W0611: 5: Unused import date |
181 |
W0611: 5: Unused import text |
182 |
W0611: 5: Unused import misc |
183 |
W0611: 5: Unused import number |
184 |
************* Module vigiboard.lib |
185 |
C0111: 1: Missing docstring |
186 |
************* Module vigiboard.lib.app_globals |
187 |
R0903: 8:Globals: Too few public methods (0/2) |
188 |
************* Module vigiboard.controllers.template |
189 |
W0232: 9:TemplateController: Class has no __init__ method |
190 |
E0602: 35:TemplateController.view: Undefined variable 'abort' |
191 |
R0201: 33:TemplateController.view: Method could be a function |
192 |
W0613: 33:TemplateController.view: Unused argument 'url' |
193 |
R0903: 9:TemplateController: Too few public methods (1/2) |
194 |
************* Module vigiboard.controllers.error |
195 |
R0201: 22:ErrorController.document: Method could be a function |
196 |
W0613: 22:ErrorController.document: Unused argument 'kwargs' |
197 |
W0613: 22:ErrorController.document: Unused argument 'args' |
198 |
R0903: 9:ErrorController: Too few public methods (1/2) |
199 |
************* Module vigiboard.controllers.secure |
200 |
C0301: 20: Line too long (87/80) |
201 |
W0232: 15:SecureController: Class has no __init__ method |
202 |
R0201: 23:SecureController.index: Method could be a function |
203 |
R0201: 29:SecureController.some_where: Method could be a function |
204 |
************* Module vigiboard.controllers.root |
205 |
E0611: 12: No name 'model' in module 'vigiboard' |
206 |
E0611: 14: No name 'model' in module 'vigiboard' |
207 |
E0611: 17: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
208 |
W0232: 21:RootController: Class has no __init__ method |
209 |
R0201: 44:RootController.index: Method could be a function |
210 |
R0201: 49:RootController.about: Method could be a function |
211 |
R0201: 54:RootController.auth: Method could be a function |
212 |
R0201: 60:RootController.manage_permission_only: Method could be a function |
213 |
W0613: 60:RootController.manage_permission_only: Unused argument 'kw' |
214 |
R0201: 66:RootController.editor_user_only: Method could be a function |
215 |
W0613: 66:RootController.editor_user_only: Unused argument 'kw' |
216 |
R0201: 71:RootController.login: Method could be a function |
217 |
R0201: 80:RootController.post_login: Method could be a function |
218 |
R0201: 94:RootController.post_logout: Method could be a function |
219 |
************* Module vigiboard.controllers.vigiboard_ctl.userutils |
220 |
E0611: 5: No name 'model' in module 'vigiboard' |
221 |
************* Module vigiboard.controllers.vigiboard_ctl.vigiboardrequest |
222 |
E0611: 5: No name 'model' in module 'vigiboard' |
223 |
W0401: 5: Wildcard import vigiboard.model.vigiboard_bdd |
224 |
E0611: 7: No name 'model' in module 'vigiboard' |
225 |
E0611: 11: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
226 |
R0902: 14:VigiboardRequest: Too many instance attributes (17/7) |
227 |
E0602: 42:VigiboardRequest.__init__: Undefined variable 'Events' |
228 |
E0602: 43:VigiboardRequest.__init__: Undefined variable 'Host' |
229 |
E0602: 43:VigiboardRequest.__init__: Undefined variable 'Events' |
230 |
E0602: 43:VigiboardRequest.__init__: Undefined variable 'Host' |
231 |
E0602: 44:VigiboardRequest.__init__: Undefined variable 'Service' |
232 |
E0602: 44:VigiboardRequest.__init__: Undefined variable 'Events' |
233 |
E0602: 44:VigiboardRequest.__init__: Undefined variable 'Service' |
234 |
E0602: 45:VigiboardRequest.__init__: Undefined variable 'HostGroups' |
235 |
E0602: 45:VigiboardRequest.__init__: Undefined variable 'Host' |
236 |
E0602: 45:VigiboardRequest.__init__: Undefined variable 'HostGroups' |
237 |
E0602: 46:VigiboardRequest.__init__: Undefined variable 'ServiceGroups' |
238 |
E0602: 46:VigiboardRequest.__init__: Undefined variable 'Service' |
239 |
E0602: 46:VigiboardRequest.__init__: Undefined variable 'ServiceGroups' |
240 |
E0602: 49:VigiboardRequest.__init__: Undefined variable 'HostGroups' |
241 |
E0602: 50:VigiboardRequest.__init__: Undefined variable 'ServiceGroups' |
242 |
E0602: 51:VigiboardRequest.__init__: Undefined variable 'Events' |
243 |
E0602: 52:VigiboardRequest.__init__: Undefined variable 'Events' |
244 |
E0602: 53:VigiboardRequest.__init__: Undefined variable 'Events' |
245 |
E0602: 54:VigiboardRequest.__init__: Undefined variable 'Events' |
246 |
E0602: 55:VigiboardRequest.__init__: Undefined variable 'Events' |
247 |
E0602: 56:VigiboardRequest.__init__: Undefined variable 'Events' |
248 |
E0602: 57:VigiboardRequest.__init__: Undefined variable 'Events' |
249 |
E0602: 58:VigiboardRequest.__init__: Undefined variable 'Events' |
250 |
E0602: 59:VigiboardRequest.__init__: Undefined variable 'Events' |
251 |
W0142: 74:VigiboardRequest.add_plugin: Used * or ** magic |
252 |
W0142: 75:VigiboardRequest.add_plugin: Used * or ** magic |
253 |
W0142: 76:VigiboardRequest.add_plugin: Used * or ** magic |
254 |
W0142: 77:VigiboardRequest.add_plugin: Used * or ** magic |
255 |
W0142: 78:VigiboardRequest.add_plugin: Used * or ** magic |
256 |
W0142: 79:VigiboardRequest.add_plugin: Used * or ** magic |
257 |
R0201:222:VigiboardRequest.format_events_img_statu: Method could be a function |
258 |
E0602:274:VigiboardRequest.format_events: Undefined variable 'Events' |
259 |
E0602:332:VigiboardRequest.format_history: Undefined variable 'EventHistory' |
260 |
E0602:333:VigiboardRequest.format_history: Undefined variable 'EventHistory' |
261 |
E0602:334:VigiboardRequest.format_history: Undefined variable 'EventHistory' |
262 |
E0602:335:VigiboardRequest.format_history: Undefined variable 'EventHistory' |
263 |
R0201:391:VigiboardRequest.generate_tmpl_context: Method could be a function |
264 |
R0902:414:VigiboardRequestPlugin: Too many instance attributes (8/7) |
265 |
W0622:420:VigiboardRequestPlugin.__init__: Redefining built-in 'filter' |
266 |
W0102:420:VigiboardRequestPlugin.__init__: Dangerous default value [] as argument |
267 |
W0102:420:VigiboardRequestPlugin.__init__: Dangerous default value [] as argument |
268 |
W0102:420:VigiboardRequestPlugin.__init__: Dangerous default value [] as argument |
269 |
W0102:420:VigiboardRequestPlugin.__init__: Dangerous default value [] as argument |
270 |
W0102:420:VigiboardRequestPlugin.__init__: Dangerous default value [] as argument |
271 |
W0102:420:VigiboardRequestPlugin.__init__: Dangerous default value [] as argument |
272 |
W0102:420:VigiboardRequestPlugin.__init__: Dangerous default value {} as argument |
273 |
R0913:420:VigiboardRequestPlugin.__init__: Too many arguments (9/5) |
274 |
W0702:444:VigiboardRequestPlugin.__show__: No exception type(s) specified |
275 |
R0201:446:VigiboardRequestPlugin.show: Method could be a function |
276 |
W0613:446:VigiboardRequestPlugin.show: Unused argument 'event' |
277 |
R0903:414:VigiboardRequestPlugin: Too few public methods (1/2) |
278 |
************* Module vigiboard.controllers.vigiboard_ctl.vigiboard_ctl |
279 |
E0611: 16: No name 'model' in module 'vigiboard' |
280 |
E0611: 18: No name 'model' in module 'vigiboard' |
281 |
W0401: 18: Wildcard import vigiboard.model.vigiboard_bdd |
282 |
E0611: 19: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
283 |
E0611: 24: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
284 |
W0232: 29:VigiboardController: Class has no __init__ method |
285 |
R0201: 36:VigiboardController.process_form_errors: Method could be a function |
286 |
W0613: 36:VigiboardController.process_form_errors: Unused argument 'kwargv' |
287 |
W0613: 36:VigiboardController.process_form_errors: Unused argument 'argv' |
288 |
R0913: 52:VigiboardController.default: Too many arguments (6/5) |
289 |
W0232: 78:VigiboardController.default.PluginSHN: Class has no __init__ method |
290 |
R0201: 85:VigiboardController.default.PluginSHN.show: Method could be a function |
291 |
R0903: 78:VigiboardController.default.PluginSHN: Too few public methods (1/2) |
292 |
E0602: 95:VigiboardController.default: Undefined variable 'ServiceHautNiveau' |
293 |
E0602: 96:VigiboardController.default: Undefined variable 'Events' |
294 |
E0602: 97:VigiboardController.default: Undefined variable 'ServiceHautNiveau' |
295 |
E0602: 98:VigiboardController.default: Undefined variable 'ServiceHautNiveau' |
296 |
E0602: 98:VigiboardController.default: Undefined variable 'Events' |
297 |
E0602: 99:VigiboardController.default: Undefined variable 'Events' |
298 |
E0602:106:VigiboardController.default: Undefined variable 'Events' |
299 |
E0602:108:VigiboardController.default: Undefined variable 'Events' |
300 |
E0602:110:VigiboardController.default: Undefined variable 'Events' |
301 |
E0602:112:VigiboardController.default: Undefined variable 'Events' |
302 |
R0201: 52:VigiboardController.default: Method could be a function |
303 |
E0602:155:VigiboardController.history_dialog: Undefined variable 'Events' |
304 |
E0602:155:VigiboardController.history_dialog: Undefined variable 'Events' |
305 |
E0602:156:VigiboardController.history_dialog: Undefined variable 'Events' |
306 |
E0602:156:VigiboardController.history_dialog: Undefined variable 'Events' |
307 |
E0602:157:VigiboardController.history_dialog: Undefined variable 'HostGroups' |
308 |
E0602:157:VigiboardController.history_dialog: Undefined variable 'Events' |
309 |
E0602:157:VigiboardController.history_dialog: Undefined variable 'HostGroups' |
310 |
E0602:158:VigiboardController.history_dialog: Undefined variable 'HostGroups' |
311 |
E0602:159:VigiboardController.history_dialog: Undefined variable 'Events' |
312 |
E0602:161:VigiboardController.history_dialog: Undefined variable 'EventHistory' |
313 |
E0602:162:VigiboardController.history_dialog: Undefined variable 'EventHistory' |
314 |
E0602:163:VigiboardController.history_dialog: Undefined variable 'EventHistory' |
315 |
E0602:164:VigiboardController.history_dialog: Undefined variable 'EventHistory' |
316 |
R0201:143:VigiboardController.history_dialog: Method could be a function |
317 |
E0602:204:VigiboardController.event: Undefined variable 'Events' |
318 |
R0201:194:VigiboardController.event: Method could be a function |
319 |
E0602:243:VigiboardController.host_service: Undefined variable 'Events' |
320 |
E0602:244:VigiboardController.host_service: Undefined variable 'Events' |
321 |
R0201:230:VigiboardController.host_service: Method could be a function |
322 |
E0602:294:VigiboardController.update: Undefined variable 'Events' |
323 |
E0602:310:VigiboardController.update: Undefined variable 'EventHistory' |
324 |
E0602:316:VigiboardController.update: Undefined variable 'EventHistory' |
325 |
R0201:269:VigiboardController.update: Method could be a function |
326 |
W0613:274:VigiboardController.update: Unused argument 'argv' |
327 |
************* Module vigiboard.controllers.vigiboard_ctl |
328 |
E0611: 6: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
329 |
E0611: 7: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
330 |
E0611: 9: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
331 |
************* Module vigiboard.tests |
332 |
E0611: 14: No name 'model' in module 'vigiboard' |
333 |
C0103: 49:TestController.setUp: Invalid name "setUp" (should match [a-z_][a-z0-9_]{2,30}$) |
334 |
C0103: 61:TestController.tearDown: Invalid name "tearDown" (should match [a-z_][a-z0-9_]{2,30}$) |
335 |
R0201: 61:TestController.tearDown: Method could be a function |
336 |
************* Module vigiboard.tests.models.test_vigiboard |
337 |
E0611: 5: No name 'assert_true' in module 'nose.tools' |
338 |
E0611: 7: No name 'model' in module 'vigiboard' |
339 |
W0401: 7: Wildcard import vigiboard.model |
340 |
E0611: 8: No name 'tests' in module 'vigiboard' |
341 |
W0232: 11:TestEventHistory: Class has no __init__ method |
342 |
E0602: 14:TestEventHistory: Undefined variable 'EventHistory' |
343 |
E0602: 21:TestEventHistory.do_get_dependencies: Undefined variable 'DBSession' |
344 |
E0602: 21:TestEventHistory.do_get_dependencies: Undefined variable 'Host' |
345 |
E0602: 22:TestEventHistory.do_get_dependencies: Undefined variable 'DBSession' |
346 |
E0602: 22:TestEventHistory.do_get_dependencies: Undefined variable 'Service' |
347 |
E0602: 23:TestEventHistory.do_get_dependencies: Undefined variable 'DBSession' |
348 |
E0602: 24:TestEventHistory.do_get_dependencies: Undefined variable 'DBSession' |
349 |
E0602: 24:TestEventHistory.do_get_dependencies: Undefined variable 'Events' |
350 |
E0602: 25:TestEventHistory.do_get_dependencies: Undefined variable 'DBSession' |
351 |
E0602: 26:TestEventHistory.do_get_dependencies: Undefined variable 'DBSession' |
352 |
E0602: 26:TestEventHistory.do_get_dependencies: Undefined variable 'Events' |
353 |
R0201: 18:TestEventHistory.do_get_dependencies: Method could be a function |
354 |
R0903: 11:TestEventHistory: Too few public methods (1/2) |
355 |
W0232: 28:TestEvent: Class has no __init__ method |
356 |
E0602: 31:TestEvent: Undefined variable 'Events' |
357 |
E0602: 37:TestEvent.do_get_dependencies: Undefined variable 'DBSession' |
358 |
E0602: 37:TestEvent.do_get_dependencies: Undefined variable 'Host' |
359 |
E0602: 38:TestEvent.do_get_dependencies: Undefined variable 'DBSession' |
360 |
E0602: 38:TestEvent.do_get_dependencies: Undefined variable 'Service' |
361 |
E0602: 39:TestEvent.do_get_dependencies: Undefined variable 'DBSession' |
362 |
R0201: 34:TestEvent.do_get_dependencies: Method could be a function |
363 |
E1101: 46:TestEvent.test_get_date: Instance of 'TestEvent' has no 'obj' member |
364 |
E1101: 47:TestEvent.test_get_date: Instance of 'TestEvent' has no 'obj' member |
365 |
E1101: 52:TestEvent.test_get_since_date: Instance of 'TestEvent' has no 'obj' member |
366 |
W0232: 54:TestGraph: Class has no __init__ method |
367 |
E0602: 57:TestGraph: Undefined variable 'GraphGroups' |
368 |
R0903: 54:TestGraph: Too few public methods (0/2) |
369 |
W0232: 60:TestGraphToGroups: Class has no __init__ method |
370 |
E0602: 63:TestGraphToGroups: Undefined variable 'GraphToGroups' |
371 |
E0602: 69:TestGraphToGroups.do_get_dependencies: Undefined variable 'DBSession' |
372 |
E0602: 69:TestGraphToGroups.do_get_dependencies: Undefined variable 'Graph' |
373 |
E0602: 70:TestGraphToGroups.do_get_dependencies: Undefined variable 'DBSession' |
374 |
E0602: 70:TestGraphToGroups.do_get_dependencies: Undefined variable 'GraphGroups' |
375 |
E0602: 71:TestGraphToGroups.do_get_dependencies: Undefined variable 'DBSession' |
376 |
R0201: 66:TestGraphToGroups.do_get_dependencies: Method could be a function |
377 |
R0903: 60:TestGraphToGroups: Too few public methods (1/2) |
378 |
W0232: 74:TestGraphGroups: Class has no __init__ method |
379 |
E0602: 77:TestGraphGroups: Undefined variable 'GraphGroups' |
380 |
R0903: 74:TestGraphGroups: Too few public methods (0/2) |
381 |
W0232: 80:TestGroupPermissions: Class has no __init__ method |
382 |
E0602: 83:TestGroupPermissions: Undefined variable 'GroupPermissions' |
383 |
E0602: 89:TestGroupPermissions.do_get_dependencies: Undefined variable 'DBSession' |
384 |
E0602: 89:TestGroupPermissions.do_get_dependencies: Undefined variable 'Groups' |
385 |
E0602: 90:TestGroupPermissions.do_get_dependencies: Undefined variable 'DBSession' |
386 |
R0201: 86:TestGroupPermissions.do_get_dependencies: Method could be a function |
387 |
R0903: 80:TestGroupPermissions: Too few public methods (1/2) |
388 |
W0232: 93:TestGroups: Class has no __init__ method |
389 |
E0602: 96:TestGroups: Undefined variable 'Groups' |
390 |
R0903: 93:TestGroups: Too few public methods (0/2) |
391 |
W0232: 99:TestHost: Class has no __init__ method |
392 |
E0602:102:TestHost: Undefined variable 'Host' |
393 |
R0903: 99:TestHost: Too few public methods (0/2) |
394 |
W0232:105:TestHostGroups: Class has no __init__ method |
395 |
E0602:108:TestHostGroups: Undefined variable 'HostGroups' |
396 |
E0602:114:TestHostGroups.do_get_dependencies: Undefined variable 'DBSession' |
397 |
E0602:114:TestHostGroups.do_get_dependencies: Undefined variable 'Host' |
398 |
E0602:115:TestHostGroups.do_get_dependencies: Undefined variable 'DBSession' |
399 |
E0602:115:TestHostGroups.do_get_dependencies: Undefined variable 'Groups' |
400 |
E0602:116:TestHostGroups.do_get_dependencies: Undefined variable 'DBSession' |
401 |
R0201:111:TestHostGroups.do_get_dependencies: Method could be a function |
402 |
R0903:105:TestHostGroups: Too few public methods (1/2) |
403 |
W0232:119:TestPerfDataSource: Class has no __init__ method |
404 |
E0602:122:TestPerfDataSource: Undefined variable 'PerfDataSource' |
405 |
E0602:128:TestPerfDataSource.do_get_dependencies: Undefined variable 'DBSession' |
406 |
E0602:128:TestPerfDataSource.do_get_dependencies: Undefined variable 'Host' |
407 |
E0602:129:TestPerfDataSource.do_get_dependencies: Undefined variable 'DBSession' |
408 |
E0602:129:TestPerfDataSource.do_get_dependencies: Undefined variable 'Service' |
409 |
E0602:130:TestPerfDataSource.do_get_dependencies: Undefined variable 'DBSession' |
410 |
E0602:130:TestPerfDataSource.do_get_dependencies: Undefined variable 'Graph' |
411 |
E0602:131:TestPerfDataSource.do_get_dependencies: Undefined variable 'DBSession' |
412 |
R0201:125:TestPerfDataSource.do_get_dependencies: Method could be a function |
413 |
R0903:119:TestPerfDataSource: Too few public methods (1/2) |
414 |
W0232:135:TestServiceGroups: Class has no __init__ method |
415 |
E0602:138:TestServiceGroups: Undefined variable 'ServiceGroups' |
416 |
E0602:144:TestServiceGroups.do_get_dependencies: Undefined variable 'DBSession' |
417 |
E0602:144:TestServiceGroups.do_get_dependencies: Undefined variable 'Service' |
418 |
E0602:145:TestServiceGroups.do_get_dependencies: Undefined variable 'DBSession' |
419 |
E0602:145:TestServiceGroups.do_get_dependencies: Undefined variable 'Groups' |
420 |
E0602:146:TestServiceGroups.do_get_dependencies: Undefined variable 'DBSession' |
421 |
R0201:141:TestServiceGroups.do_get_dependencies: Method could be a function |
422 |
R0903:135:TestServiceGroups: Too few public methods (1/2) |
423 |
W0232:149:TestServiceHautNiveau: Class has no __init__ method |
424 |
E0602:152:TestServiceHautNiveau: Undefined variable 'ServiceHautNiveau' |
425 |
E0602:157:TestServiceHautNiveau.do_get_dependencies: Undefined variable 'DBSession' |
426 |
E0602:157:TestServiceHautNiveau.do_get_dependencies: Undefined variable 'Service' |
427 |
E0602:158:TestServiceHautNiveau.do_get_dependencies: Undefined variable 'DBSession' |
428 |
R0201:155:TestServiceHautNiveau.do_get_dependencies: Method could be a function |
429 |
R0903:149:TestServiceHautNiveau: Too few public methods (1/2) |
430 |
W0232:161:TestService: Class has no __init__ method |
431 |
E0602:164:TestService: Undefined variable 'Service' |
432 |
R0903:161:TestService: Too few public methods (0/2) |
433 |
W0232:167:TestServiceTopo: Class has no __init__ method |
434 |
E0602:170:TestServiceTopo: Undefined variable 'ServiceTopo' |
435 |
C0111:173:TestServiceTopo.do_get_dependencies: Missing docstring |
436 |
E0602:174:TestServiceTopo.do_get_dependencies: Undefined variable 'DBSession' |
437 |
E0602:174:TestServiceTopo.do_get_dependencies: Undefined variable 'Service' |
438 |
E0602:175:TestServiceTopo.do_get_dependencies: Undefined variable 'DBSession' |
439 |
E0602:175:TestServiceTopo.do_get_dependencies: Undefined variable 'ServiceHautNiveau' |
440 |
E0602:177:TestServiceTopo.do_get_dependencies: Undefined variable 'DBSession' |
441 |
R0201:173:TestServiceTopo.do_get_dependencies: Method could be a function |
442 |
R0903:167:TestServiceTopo: Too few public methods (1/2) |
443 |
************* Module vigiboard.tests.models.test_auth |
444 |
E0611: 5: No name 'model' in module 'vigiboard' |
445 |
E0611: 6: No name 'tests' in module 'vigiboard' |
446 |
W0232: 8:TestGroup: Class has no __init__ method |
447 |
R0903: 8:TestGroup: Too few public methods (0/2) |
448 |
W0232: 17:TestUser: Class has no __init__ method |
449 |
E1101: 28:TestUser.test_obj_creation_username: Instance of 'TestUser' has no 'obj' member |
450 |
E1101: 32:TestUser.test_obj_creation_email: Instance of 'TestUser' has no 'obj' member |
451 |
E1101: 36:TestUser.test_no_permissions_by_default: Instance of 'TestUser' has no 'obj' member |
452 |
E1101: 41:TestUser.test_getting_by_email: Instance of 'TestUser' has no 'obj' member |
453 |
W0232: 44:TestPermission: Class has no __init__ method |
454 |
R0903: 44:TestPermission: Too few public methods (0/2) |
455 |
************* Module vigiboard.tests.models.__init__ |
456 |
W0312: 27: Found indentation with tabs instead of spaces |
457 |
W0312: 28: Found indentation with tabs instead of spaces |
458 |
W0312: 29: Found indentation with tabs instead of spaces |
459 |
C0301: 48: Line too long (115/80) |
460 |
************* Module vigiboard.tests.models |
461 |
E0611: 3: No name 'assert_equals' in module 'nose.tools' |
462 |
E0611: 5: No name 'model' in module 'vigiboard' |
463 |
E0611: 6: No name 'tests' in module 'vigiboard' |
464 |
W0622: 26:ModelTest.wri: Redefining built-in 'str' |
465 |
C0111: 26:ModelTest.wri: Missing docstring |
466 |
C0324: 26:ModelTest.wri: Comma not followed by a space |
467 |
def wri(self,str): |
468 |
^^ |
469 |
C0322: 27:ModelTest.wri: Operator not preceded by a space |
470 |
f=open("/home/tandreja/moimoi","a") |
471 |
^ |
472 |
C0103: 27:ModelTest.wri: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) |
473 |
C0324: 28:ModelTest.wri: Comma not followed by a space |
474 |
f.write("%s %s\n" % (str,self.__class__)) |
475 |
^^ |
476 |
C0111: 31:ModelTest.setup: Missing docstring |
477 |
E1102: 36:ModelTest.setup: self.klass is not callable |
478 |
W0142: 36:ModelTest.setup: Used * or ** magic |
479 |
C0103: 44:ModelTest.tearDown: Invalid name "tearDown" (should match [a-z_][a-z0-9_]{2,30}$) |
480 |
C0111: 44:ModelTest.tearDown: Missing docstring |
481 |
R0201: 44:ModelTest.tearDown: Method could be a function |
482 |
R0201: 47:ModelTest.do_get_dependencies: Method could be a function |
483 |
C0111: 51:ModelTest.test_create_obj: Missing docstring |
484 |
C0111: 54:ModelTest.test_query_obj: Missing docstring |
485 |
W0201: 36:ModelTest.setup: Attribute 'obj' defined outside __init__ |
486 |
************* Module vigiboard.tests.functional.test_userutils |
487 |
C0301: 38: Line too long (81/80) |
488 |
E0611: 6: No name 'assert_true' in module 'nose.tools' |
489 |
E0611: 8: No name 'model' in module 'vigiboard' |
490 |
W0401: 8: Wildcard import vigiboard.model |
491 |
E0611: 9: No name 'tests' in module 'vigiboard' |
492 |
E0611: 10: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
493 |
E0611: 11: No name 'tests' in module 'vigiboard' |
494 |
C0111: 25:TestUserUtils: Missing docstring |
495 |
W0232: 25:TestUserUtils: Class has no __init__ method |
496 |
E0602: 35:TestUserUtils.test_get_user_groups: Undefined variable 'DBSession' |
497 |
E0602: 35:TestUserUtils.test_get_user_groups: Undefined variable 'Groups' |
498 |
E0602: 36:TestUserUtils.test_get_user_groups: Undefined variable 'DBSession' |
499 |
E0602: 36:TestUserUtils.test_get_user_groups: Undefined variable 'Groups' |
500 |
E0602: 37:TestUserUtils.test_get_user_groups: Undefined variable 'DBSession' |
501 |
E0602: 37:TestUserUtils.test_get_user_groups: Undefined variable 'Permission' |
502 |
E0602: 38:TestUserUtils.test_get_user_groups: Undefined variable 'Permission' |
503 |
E0602: 39:TestUserUtils.test_get_user_groups: Undefined variable 'DBSession' |
504 |
E0602: 39:TestUserUtils.test_get_user_groups: Undefined variable 'Permission' |
505 |
E0602: 40:TestUserUtils.test_get_user_groups: Undefined variable 'Permission' |
506 |
E0602: 41:TestUserUtils.test_get_user_groups: Undefined variable 'DBSession' |
507 |
E0602: 41:TestUserUtils.test_get_user_groups: Undefined variable 'GroupPermissions' |
508 |
E0602: 43:TestUserUtils.test_get_user_groups: Undefined variable 'DBSession' |
509 |
E0602: 43:TestUserUtils.test_get_user_groups: Undefined variable 'GroupPermissions' |
510 |
E1101: 54:TestUserUtils.test_get_user_groups: Instance of 'TestUserUtils' has no 'app' member |
511 |
E1101: 69:TestUserUtils.test_get_user_groups: Instance of 'TestUserUtils' has no 'app' member |
512 |
R0903: 25:TestUserUtils: Too few public methods (1/2) |
513 |
************* Module vigiboard.tests.functional.test_root |
514 |
E0611: 13: No name 'assert_true' in module 'nose.tools' |
515 |
E0611: 15: No name 'tests' in module 'vigiboard' |
516 |
C0111: 18:TestRootController: Missing docstring |
517 |
W0232: 18:TestRootController: Class has no __init__ method |
518 |
C0111: 19:TestRootController.test_index: Missing docstring |
519 |
E1101: 20:TestRootController.test_index: Instance of 'TestRootController' has no 'app' member |
520 |
E1101: 37:TestRootController.test_secc_with_manager: Instance of 'TestRootController' has no 'app' member |
521 |
E1101: 43:TestRootController.test_secc_with_editor: Instance of 'TestRootController' has no 'app' member |
522 |
E1101: 48:TestRootController.test_secc_with_anonymous: Instance of 'TestRootController' has no 'app' member |
523 |
************* Module vigiboard.tests.functional.test_authentication |
524 |
C0301: 51: Line too long (81/80) |
525 |
E0611: 10: No name 'tests' in module 'vigiboard' |
526 |
W0232: 13:TestAuthentication: Class has no __init__ method |
527 |
E1101: 38:TestAuthentication.test_forced_login: Instance of 'TestAuthentication' has no 'app' member |
528 |
E1101: 58:TestAuthentication.test_voluntary_login: Instance of 'TestAuthentication' has no 'app' member |
529 |
E1101: 74:TestAuthentication.test_logout: Instance of 'TestAuthentication' has no 'app' member |
530 |
E1101: 80:TestAuthentication.test_logout: Instance of 'TestAuthentication' has no 'app' member |
531 |
************* Module vigiboard.tests.functional.test_vigiboardrequest |
532 |
C0301: 40: Line too long (81/80) |
533 |
C0301: 57: Line too long (81/80) |
534 |
C0301:124: Line too long (85/80) |
535 |
C0301:152: Line too long (84/80) |
536 |
E0611: 6: No name 'assert_true' in module 'nose.tools' |
537 |
E0611: 8: No name 'model' in module 'vigiboard' |
538 |
W0401: 8: Wildcard import vigiboard.model |
539 |
E0611: 9: No name 'tests' in module 'vigiboard' |
540 |
E0611: 10: No name 'vigiboard_ctl' in module 'vigiboard.controllers' |
541 |
E0611: 12: No name 'tests' in module 'vigiboard' |
542 |
C0111: 26:TestVigiboardRequest: Missing docstring |
543 |
W0232: 26:TestVigiboardRequest: Class has no __init__ method |
544 |
E0602: 37:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
545 |
E0602: 37:TestVigiboardRequest.test_creation_requete: Undefined variable 'Groups' |
546 |
E0602: 38:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
547 |
E0602: 38:TestVigiboardRequest.test_creation_requete: Undefined variable 'Groups' |
548 |
E0602: 39:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
549 |
E0602: 39:TestVigiboardRequest.test_creation_requete: Undefined variable 'Permission' |
550 |
E0602: 40:TestVigiboardRequest.test_creation_requete: Undefined variable 'Permission' |
551 |
E0602: 41:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
552 |
E0602: 41:TestVigiboardRequest.test_creation_requete: Undefined variable 'Permission' |
553 |
E0602: 42:TestVigiboardRequest.test_creation_requete: Undefined variable 'Permission' |
554 |
E0602: 43:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
555 |
E0602: 43:TestVigiboardRequest.test_creation_requete: Undefined variable 'GroupPermissions' |
556 |
E0602: 45:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
557 |
E0602: 45:TestVigiboardRequest.test_creation_requete: Undefined variable 'GroupPermissions' |
558 |
E0602: 49:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
559 |
E0602: 49:TestVigiboardRequest.test_creation_requete: Undefined variable 'Host' |
560 |
E0602: 50:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
561 |
E0602: 50:TestVigiboardRequest.test_creation_requete: Undefined variable 'Service' |
562 |
E0602: 51:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
563 |
E0602: 51:TestVigiboardRequest.test_creation_requete: Undefined variable 'Host' |
564 |
E0602: 52:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
565 |
E0602: 52:TestVigiboardRequest.test_creation_requete: Undefined variable 'Service' |
566 |
E0602: 53:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
567 |
E0602: 54:TestVigiboardRequest.test_creation_requete: Undefined variable 'Events' |
568 |
E0602: 55:TestVigiboardRequest.test_creation_requete: Undefined variable 'Events' |
569 |
E0602: 56:TestVigiboardRequest.test_creation_requete: Undefined variable 'Events' |
570 |
E0602: 57:TestVigiboardRequest.test_creation_requete: Undefined variable 'Events' |
571 |
E0602: 60:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
572 |
E0602: 61:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
573 |
E0602: 62:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
574 |
E0602: 63:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
575 |
E0602: 64:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
576 |
E0602: 65:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
577 |
E0602: 65:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
578 |
E0602: 67:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
579 |
E0602: 67:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
580 |
E0602: 69:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
581 |
E0602: 69:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
582 |
E0602: 71:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
583 |
E0602: 71:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
584 |
E0602: 73:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
585 |
E0602: 73:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
586 |
E0602: 75:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
587 |
E0602: 75:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
588 |
E0602: 77:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
589 |
E0602: 77:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
590 |
E0602: 79:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
591 |
E0602: 79:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
592 |
E0602: 83:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
593 |
E0602: 83:TestVigiboardRequest.test_creation_requete: Undefined variable 'HostGroups' |
594 |
E0602: 85:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
595 |
E0602: 85:TestVigiboardRequest.test_creation_requete: Undefined variable 'HostGroups' |
596 |
E0602: 87:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
597 |
E0602: 87:TestVigiboardRequest.test_creation_requete: Undefined variable 'ServiceGroups' |
598 |
E0602: 89:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
599 |
E0602: 89:TestVigiboardRequest.test_creation_requete: Undefined variable 'ServiceGroups' |
600 |
E0602: 91:TestVigiboardRequest.test_creation_requete: Undefined variable 'DBSession' |
601 |
E1101: 99:TestVigiboardRequest.test_creation_requete: Instance of 'TestVigiboardRequest' has no 'app' member |
602 |
W0232:107:TestVigiboardRequest.test_creation_requete.MonPlugin: Class has no __init__ method |
603 |
R0201:110:TestVigiboardRequest.test_creation_requete.MonPlugin.show: Method could be a function |
604 |
R0903:107:TestVigiboardRequest.test_creation_requete.MonPlugin: Too few public methods (1/2) |
605 |
E0602:115:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
606 |
E0602:116:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
607 |
E0602:116:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
608 |
E0602:116:TestVigiboardRequest.test_creation_requete: Undefined variable 'Events' |
609 |
E1101:140:TestVigiboardRequest.test_creation_requete: Instance of 'TestVigiboardRequest' has no 'app' member |
610 |
E0602:146:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
611 |
E0602:147:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
612 |
E0602:147:TestVigiboardRequest.test_creation_requete: Undefined variable 'EventHistory' |
613 |
E0602:147:TestVigiboardRequest.test_creation_requete: Undefined variable 'Events' |
614 |
R0903: 26:TestVigiboardRequest: Too few public methods (1/2) |
615 |
************* Module vigiboard.config.app_cfg |
616 |
E0611: 19: No name 'model' in module 'vigiboard' |
617 |
E1101: 37: Module 'vigiboard' has no 'model' member |
618 |
E1101: 38: Module 'vigiboard' has no 'model' member |
619 |
W0611: 20: Unused import helpers |
620 |
W0611: 20: Unused import app_globals |
621 |
************* Module vigiboard.config.middleware |
622 |
W0312: 39: Found indentation with tabs instead of spaces |
623 |
W0613: 15:make_app: Unused argument 'full_stack' |
624 |
************* Module vigiboard.config |
625 |
C0111: 1: Missing docstring |
626 |
************* Module vigiboard.config.__init__ |
627 |
R0801: 1: Similar lines in 2 files |
628 |
==vigiboard.tests.functional.test_userutils:10 |
629 |
==vigiboard.tests.functional.test_vigiboardrequest:11 |
630 |
from vigiboard.tests import setup_db, teardown_db |
631 |
import tg |
632 |
import transaction |
633 |
|
634 |
#Create an empty database before we start our tests for this module |
635 |
def setup(): |
636 |
"""Function called by nose on module load""" |
637 |
setup_db() |
638 |
|
639 |
#Teardown that database |
640 |
def teardown(): |
641 |
"""Function called by nose after all tests in this module ran""" |
642 |
teardown_db() |
643 |
|
644 |
R0801: 1: Similar lines in 2 files |
645 |
==vigiboard.tests.functional.test_userutils:36 |
646 |
==vigiboard.tests.functional.test_vigiboardrequest:38 |
647 |
idmanagers = DBSession.query(Permission |
648 |
).filter(Permission.permission_name == 'manage')[0].permission_id |
649 |
ideditors = DBSession.query(Permission |
650 |
).filter(Permission.permission_name == 'edit')[0].permission_id |
651 |
DBSession.add(GroupPermissions(groupname = "hostmanagers", |
652 |
idpermission = idmanagers)) |
653 |
DBSession.add(GroupPermissions(groupname = "hosteditors", |
654 |
idpermission = ideditors)) |
655 |
|
656 |
# Les évènements et leurs dépendances |
657 |
R0801: 1: Similar lines in 4 files |
658 |
==vigiboard.model.vigiboard_bdd.hostgroups:4 |
659 |
==vigiboard.model.vigiboard_bdd.servicegroups:4 |
660 |
==vigiboard.model.vigiboard_bdd.servicehautniveau:4 |
661 |
==vigiboard.model.vigiboard_bdd.servicetopo:4 |
662 |
from sqlalchemy.orm import mapper |
663 |
from sqlalchemy import Table, ForeignKey, Column |
664 |
from sqlalchemy.types import String |
665 |
from vigiboard.model import metadata |
666 |
|
667 |
from vigiboard.config.vigiboard_config import vigiboard_config |
668 |
|
669 |
# Generation par SQLAutoCode |
670 |
|
671 |
R0801: 1: Similar lines in 2 files |
672 |
==vigiboard.model.vigiboard_bdd.groups:4 |
673 |
==vigiboard.model.vigiboard_bdd.service:4 |
674 |
from sqlalchemy.orm import mapper |
675 |
from sqlalchemy import Table, Column |
676 |
from sqlalchemy.types import String |
677 |
from vigiboard.model import metadata |
678 |
|
679 |
from vigiboard.config.vigiboard_config import vigiboard_config |
680 |
|
681 |
# Generation par SQLAutoCode |
682 |
|
683 |
R0801: 1: Similar lines in 2 files |
684 |
==vigiboard.model.vigiboard_bdd.eventhistory:37 |
685 |
==vigiboard.model.vigiboard_bdd.host:35 |
686 |
String(length=255, convert_unicode=True, assert_unicode=None), |
687 |
primary_key=False), |
688 |
mysql_engine='InnoDB', |
689 |
mysql_charset='utf8' |
690 |
) |
691 |
|
692 |
# Classe a mapper |
693 |
|
694 |
R0801: 1: Similar lines in 3 files |
695 |
==vigiboard.model.vigiboard_bdd.graph:4 |
696 |
==vigiboard.model.vigiboard_bdd.groups:4 |
697 |
==vigiboard.model.vigiboard_bdd.service:4 |
698 |
from sqlalchemy.orm import mapper |
699 |
from sqlalchemy import Table, Column |
700 |
from sqlalchemy.types import String |
701 |
from vigiboard.model import metadata |
702 |
|
703 |
from vigiboard.config.vigiboard_config import vigiboard_config |
704 |
# Generation par SQLAutoCode |
705 |
|
706 |
R0801: 1: Similar lines in 2 files |
707 |
==vigiboard.model.vigiboard_bdd.servicegroups:15 |
708 |
==vigiboard.model.vigiboard_bdd.servicehautniveau:15 |
709 |
metadata, |
710 |
Column(u'servicename', |
711 |
String(length=100, convert_unicode=True, assert_unicode=None), |
712 |
ForeignKey( |
713 |
vigiboard_config['vigiboard_bdd.basename'] + u'service.name' |
714 |
), primary_key=True, nullable=False), |
715 |
R0801: 1: Similar lines in 2 files |
716 |
==vigiboard.model.vigiboard_bdd.hostgroups:14 |
717 |
==vigiboard.model.vigiboard_bdd.perfdatasource:15 |
718 |
metadata, |
719 |
Column(u'hostname', |
720 |
String(length=100, convert_unicode=True, assert_unicode=None), |
721 |
ForeignKey(vigiboard_config['vigiboard_bdd.basename'] + u'host.name'), |
722 |
primary_key=True, nullable=False), |
723 |
R0401: 1: Cyclic import (vigiboard.controllers.vigiboard_ctl -> vigiboard.controllers.vigiboard_ctl.vigiboard_ctl) |
724 |
R0401: 1: Cyclic import (vigiboard.model -> vigiboard.model.auth) |