aboutsummaryrefslogtreecommitdiffstats
path: root/tests/context.py
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2013-01-02 08:35:04 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2013-01-02 08:35:04 -0300
commit214c04b48f04b076de8b77d5de1527a238c2c0df (patch)
tree2ac0e84b6754e52fd1c027cec96ee617af329254 /tests/context.py
parent95c366613df0167712d9682a4277c7e74cd96d45 (diff)
parent9c5708cc92af894e414bc76ee35ec2230de5d288 (diff)
Merge tag 'upstream/5.1'
Upstream version 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