Making pytest the standard test suite (instead of nose)

Thomas De Schampheleire patrickdepinguin at gmail.com
Sat Jun 6 03:19:17 EDT 2015


On June 6, 2015 7:29:23 AM CEST, Andrew Shadura <andrew at shadura.me> wrote:
>Hello,
>
>On Tue, 2 Jun 2015 08:49:28 +0200
>Andrew Shadura <andrew at shadura.me> wrote:
>
>> > I've been using pytest for a while now, and think we should
>consider
>> > making it the default test suite instead of nose.
>
>> Meanwhile, neither nose nor pytest work for me at the moment, for
>> different reasons. Nose doesn't work properly as I'm running a bit
>> newer Pylons which broke nose as we use it, and pytest gives me this:
>
>> ...
>
>> ImportMismatchError('kallithea.tests.conftest',
>>
>'/home/andrew/projects/kallithea-test-fix/build/lib.linux-i686-2.7/kallithea/tests/conftest.py',
>>
>local('/home/andrew/projects/kallithea-test-fix/kallithea/tests/conftest.py')),
>> <traceback object at 0xb6e7a20c>))
>
>> ...
>
>> Any ideas how to deal with this?
>
>Thomas, maybe you can suggest anything I can try?

Can you tell me exactly what you did so I can try and reproduce?
Have you tried from a fresh virtualenv?



More information about the kallithea-general mailing list