diff options
Diffstat (limited to 'tests/test_locale.py')
| -rw-r--r-- | tests/test_locale.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_locale.py b/tests/test_locale.py index 93df2ae..90f9edb 100644 --- a/tests/test_locale.py +++ b/tests/test_locale.py @@ -1,6 +1,12 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals + +# This code is so you can run the samples without installing the package, +# and should be before any import touching nikola, in any file under tests/ +import os import sys +sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) + # needed if @unittest.expectedFailure is used try: |
