Permalink
Browse files

This __file__ method doesn't work with buildout magic

  • Loading branch information...
1 parent 435735d commit 11e60a7b9d0861b48accfd9578f2a243ba2e38c6 Chad Metcalf committed Aug 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 test.py
View
@@ -7,7 +7,7 @@
import subprocess
import re
-TESTS_DIR=os.path.join(os.path.dirname(__file__), "shell-tests")
+TESTS_DIR=os.path.join(os.getcwd(), "shell-tests")
class ShellTests(TestCase):
def _run_shell_test(self, path):

0 comments on commit 11e60a7

Please sign in to comment.