fix test tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 15 Apr 2009 17:24:48 +0200
branchtls-sprint
changeset 1368 c0138f349ff4
parent 1367 01bb5b727fe3
child 1369 49497136e977
fix test
web/test/test_views.py
--- a/web/test/test_views.py	Wed Apr 15 17:24:34 2009 +0200
+++ b/web/test/test_views.py	Wed Apr 15 17:24:48 2009 +0200
@@ -45,6 +45,7 @@
         self.failUnless('jquery.tablesorter.js' in self.view('table', rset))
 
     def test_js_added_only_once(self):
+        self.vreg._loadedmods[__name__] = {}
         self.vreg.register_vobject_class(SomeView)
         rset = self.execute('EUser X')
         source = self.view('someview', rset).source