summaryrefslogtreecommitdiffstats
path: root/kittystore/test/__init__.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-08-17 15:57:41 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-07 10:40:54 +0200
commit4051981f32379b673c5ef2c50962d05570b91204 (patch)
tree50beecf8edc41d6814fe3ba5f6345a87c4143ce5 /kittystore/test/__init__.py
parentf2c53282e819fe935911466dd873034ebcde9d02 (diff)
downloadkittystore-4051981f32379b673c5ef2c50962d05570b91204.tar.gz
kittystore-4051981f32379b673c5ef2c50962d05570b91204.tar.xz
kittystore-4051981f32379b673c5ef2c50962d05570b91204.zip
Fix some bugs in the import code
and add unit tests for these cases.
Diffstat (limited to 'kittystore/test/__init__.py')
-rw-r--r--kittystore/test/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/kittystore/test/__init__.py b/kittystore/test/__init__.py
new file mode 100644
index 0000000..9a10e1f
--- /dev/null
+++ b/kittystore/test/__init__.py
@@ -0,0 +1,8 @@
+# -*- coding: utf-8 -*-
+
+import os
+
+
+def get_test_file(*fileparts):
+ return os.path.join(os.path.dirname(__file__), "testdata", *fileparts)
+get_test_file.__test__ = False