alfredodeza/konira — Issue #12: Konira is removing the current directory from the PYTHON path
Author: igorgue
Created: 2011-10-18 18:43:33+00:00
State: open

I tried to run the example here: http://konira.cafepais.com/docs/basic_structure.html

And it's unable to find the current directory modules. A look at sys.path shows that the first path isn't ''.

This is the output I get

(testingkonira)‹python-2.7.2› ~/code/testingkonira konira
Errors:
-------
1 ==> ImportError: No module named foo
File: /Users/igor/code/testingkonira/case_foo.py:1:
No cases/specs collected.

A workaround this issue would be:

(testingkonira)‹python-2.7.2› ~/code/testingkonira PYTHONPATH=. konira
the foo class
It has a bar method that always returns true
All 1 spec passed in 0.127 secs.