I am having a hard time trying to configure tests running in PyCharm.
I want to run tests for my custom django apps, so my configuration looks something like this:
It works okay mostly (tests run, succeed), though it doesn't let you re-run individual tests and re-run failed ones - it always runs all tests for specified applications (common and authorization).
The manual says I should put django application names in "Target" field like this:
But whenever I do it, my tests fail to run with weird errors: sometimes it cannot import some modules, though they are definitely accessible, sometimes there are a lot of NoReverseFound exceptions, though none of them are actually present in the code.
I suppose I am configuring something wrong, but I cannot understand what. I am running the latest version of PyCharm and one of the 1.5.x versions of Django (some legacy code from back in the day I had to maintain)
Aucun commentaire:
Enregistrer un commentaire