summaryrefslogtreecommitdiffstats
path: root/tests/test_syntax.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-13 23:24:21 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-13 23:24:21 +0100
commitc7ad1cc5b4a5d190a060e3ddd9274c3065da6708 (patch)
tree639062525ddde3b8c785f26a0f4091ec10d9e204 /tests/test_syntax.py
parentfixed pyflakes and sloccount (diff)
downloadpyload-c7ad1cc5b4a5d190a060e3ddd9274c3065da6708.tar.xz
plugin unit test, closed #499, #500
Diffstat (limited to 'tests/test_syntax.py')
-rw-r--r--tests/test_syntax.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_syntax.py b/tests/test_syntax.py
index 82c4194da..4a131ef6f 100644
--- a/tests/test_syntax.py
+++ b/tests/test_syntax.py
@@ -8,9 +8,8 @@ from unittest import TestCase
PATH = abspath(join(dirname(abspath(__file__)), "..", ""))
-# gettext
-__builtin__._ = lambda x: x
-__builtin__.hookManager = _
+# needed to register globals
+from helper import Stubs
class TestSyntax(TestCase):
pass