summaryrefslogtreecommitdiffstats
path: root/tests/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/context.py')
-rw-r--r--tests/context.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/context.py b/tests/context.py
new file mode 100644
index 0000000..f292b79
--- /dev/null
+++ b/tests/context.py
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+
+# Path hack as shown by Kenneth Reitz at http://kennethreitz.com/repository-structure-and-python.html
+
+import os
+import sys
+sys.path.insert(0, os.path.abspath('..'))
+
+import nikola