PY-19738: Django test targets should be resolved against source roots too, not only... appcode/163.477 clion/163.481 dbe/163.473 idea/163.475 phpstorm/163.476 pycharm/163.479 rubymine/163.480 webstorm/163.482 webstorm/163.483
authorIlya.Kazakevich <Ilya.Kazakevich@jetbrains.com>
Wed, 22 Jun 2016 22:34:23 +0000 (01:34 +0300)
committerIlya.Kazakevich <Ilya.Kazakevich@jetbrains.com>
Wed, 22 Jun 2016 22:34:23 +0000 (01:34 +0300)
commit0a901c603dd97ace4841300de8dc9303726ac3fc
treef8eef4f8c96dc49b646a4d77aee66daf289caf55
parentfbb023aa53bc5fca617a0602e255a04f9347f8d0
PY-19738: Django test targets should be resolved against source roots too, not only against django project root

Django target is something like "spam.eggs.MyClass". That means "spam" is package inside Django project root or in source root. Django only adds its project root to sys.path automatically, but user may add some other folders dynamically (see base.py, local.py in this commit) and mark folder as "source". We should support this config.
python/testSrc/com/jetbrains/env/PyAbstractTestProcessRunner.java
python/testSrc/com/jetbrains/env/PyEnvTaskRunner.java