Skip to content

Commit

Permalink
#629: rename test/_linux.py (and others) to test/test_pslinux.py in o…
Browse files Browse the repository at this point in the history
…rder to ease test discovery for nose and pytest
  • Loading branch information
giampaolo committed Jun 4, 2015
1 parent d9f5805 commit 870e00f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions test/test_psutil.py
Expand Up @@ -2767,23 +2767,23 @@ def main():
tests.append(LimitedUserTestCase)

if POSIX:
from _posix import PosixSpecificTestCase
from test_posix import PosixSpecificTestCase
tests.append(PosixSpecificTestCase)

# import the specific platform test suite
stc = None
if LINUX:
from _linux import LinuxSpecificTestCase as stc
from test_linux import LinuxSpecificTestCase as stc
elif WINDOWS:
from _windows import WindowsSpecificTestCase as stc
from _windows import TestDualProcessImplementation
from test_windows import WindowsSpecificTestCase as stc
from test_windows import TestDualProcessImplementation
tests.append(TestDualProcessImplementation)
elif OSX:
from _osx import OSXSpecificTestCase as stc
from test_osx import OSXSpecificTestCase as stc
elif BSD:
from _bsd import BSDSpecificTestCase as stc
from test_bsd import BSDSpecificTestCase as stc
elif SUNOS:
from _sunos import SunOSSpecificTestCase as stc
from test_sunos import SunOSSpecificTestCase as stc
if stc is not None:
tests.append(stc)

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 870e00f

Please sign in to comment.