Run unit tests from executable Python modules

Review Request #5325 — Created Jan. 26, 2014 and submitted — Latest diff uploaded

Information

Djblets
master

Reviewers

Run unit tests from executable Python modules

When developing on a Linux VM inside a Windows host, all Python modules have the executable flag on. Nose has work around for this when run on Windows (https://github.com/nose-devs/nose/blob/master/nose/config.py#L26). In this case, the Python intrepeter run inside the VM causing the work-around to fail. This review request adds check for executable file permission and forces Nose to run tests.

Unit tests pass.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3
tests/runtests.py
Loading...