summaryrefslogtreecommitdiffstats
path: root/tests/context.py
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2013-01-02 08:35:03 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2013-01-02 08:35:03 -0300
commit9c5708cc92af894e414bc76ee35ec2230de5d288 (patch)
tree61bd56b5517a4713626c254981143e008c719469 /tests/context.py
parent0f2c04e70a0ffdd0892d6970cafbcd952d221db5 (diff)
Imported Upstream version 5.1upstream/5.1
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