summaryrefslogtreecommitdiff
path: root/psutil/tests/test_misc.py
Commit message (Collapse)AuthorAgeFilesLines
* show status() in __repr__Giampaolo Rodola2020-04-281-0/+2
|
* Parallel tests (UNIX) (#1709)Giampaolo Rodola2020-04-261-2/+2
|
* skip scripts test if can't locate directoryGiampaolo Rodola2020-04-241-4/+1
| | | | | May happen on CI and when running tests via "python -m psutil.tests" since scripts dir is not installed.
* MemoryLeakTest class enhancements (#1731)Giampaolo Rodola2020-04-231-299/+0
|
* point all shebangs to python 3Giampaolo Rodola2020-02-151-1/+1
|
* Add CI testing for FreeBSD (#1671)Giampaolo Rodola2020-01-241-4/+5
|
* PEP-3151: backport FS exceptions to Python 2 (#1544)Giampaolo Rodola2019-06-281-1/+2
|
* fix various testsGiampaolo Rodola2019-06-141-0/+4
|
* Connection family/type are not converted to enums (#1535)Giampaolo Rodola2019-06-141-0/+2
|
* test runner refactoring (avoid code duplication)Giampaolo Rodola2019-03-131-2/+2
|
* Coloured tests (#1459)Giampaolo Rodola2019-03-131-1/+1
| | | Fixes #1458.
* test: avoid failing at import timeGiampaolo Rodola2019-03-061-2/+2
|
* Fix #1329: [AIX] disable some functions based on availability in libperfstat ↵wiggin152019-03-051-3/+4
| | | | (#1349)
* #1373: different approach to oneshot() cache (pass Process instances around ↵Giampaolo Rodola2018-12-131-2/+2
| | | | - which is faster)
* Refactored ps() function in test_posix (#1341)E. M. Bray2018-09-261-0/+10
| | | | | | * refactored ps() function that attepts to abstract away more platform-specific differences in the ps command * move open_text an open_binary tests to test_misc
* Revert "Move tests out of package to top level directory (#1232)" (#1242)Giampaolo Rodola2018-03-111-0/+1046
| | | This reverts commit b578d2febfd35f80fcfa1ce1bdf18d44d21b1581.
* Move tests out of package to top level directory (#1232)Jon Dufresne2018-03-091-1046/+0
| | | | | | | | Cleanly separates tests from the package itself. Prevents the tests being installed to site-packages. Tests are still distributed with the source distribution by MANIFEST.in. Avoids installing tests in production environments, leading to less total code in the environment.
* add test for safe_mkdirGiampaolo Rodola2018-02-231-0/+7
|
* do not test platf specific modules on wheelhouseGiampaolo Rodola2017-11-231-2/+1
|
* try to fix travis failureGiampaolo Rodola2017-11-231-14/+9
|
* fix travis failuresGiampaolo Rodola2017-11-231-0/+8
|
* try to use PYTHON_EXE instead of sys.executableGiampaolo Rodola2017-11-221-2/+2
|
* disable IPv6 tests if IPv6 is not supportedGiampaolo Rodola2017-11-111-1/+2
|
* fix failure on osx/travisGiampaolo Rodola2017-11-041-0/+4
|
* fix testGiampaolo Rodola2017-10-311-2/+2
|
* use new PYTHON_EXEGiampaolo Rodola2017-10-301-2/+2
|
* 1044 osx zombies (#1100)Giampaolo Rodola2017-06-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | * small refactoring * #1044: define a separate ctx manager which handles zombie processes * add create_zombie_proc utility function * disable test on windows * #1044: cmdline() was incorrectly raising AD instead of ZombieProcess * #1044: environ() was incorrectly raising AD instead of ZombieProcess * #1044: memory_maps() was incorrectly raising AD instead of ZombieProcess * #1044: threads() was incorrectly raising AD instead of ZombieProcess * enhance test * fix threads()
* remove useless posix cwd testGiampaolo Rodola2017-05-181-1/+2
|
* fix supports_ipv6 testGiampaolo Rodola2017-05-161-3/+7
|
* fix supports_ipv6 testGiampaolo Rodola2017-05-161-0/+6
|
* fix windows test; also do make clean on CI services in order to show python ↵Giampaolo Rodola2017-05-131-0/+3
| | | | warnings
* 1058 enable fix warnings (#1059)Giampaolo Rodola2017-05-101-7/+8
| | | | | | | | | | | | | | | | | | * #1058: have Makefile use PYTHONWARNINGS=all by default for (almost) all commands * #1058 fix linux tests warnings * #1058: try not to use imp module * #1058: get rid of imp module completely * #1058: ignore unicode warnings * #1058: ignore stderr from procsmem.py * #1058: fix resource warning from Popen * #1058: get rid of contextlib.nested (deprecated)
* move tests aroundGiampaolo Rodola2017-05-091-19/+16
|
* #802: expose clear_cache and attach it to disk and net io primary function ↵Giampaolo Rodola2017-05-091-0/+18
| | | | objects
* add testGiampaolo Rodola2017-05-091-0/+17
|
* add testGiampaolo Rodola2017-05-091-1/+19
|
* addd testGiampaolo Rodola2017-05-091-0/+13
|
* #802 add testsGiampaolo Rodola2017-05-091-0/+74
|
* expose cache_info() methodGiampaolo Rodola2017-05-091-1/+3
|
* #802: change algorithmGiampaolo Rodola2017-05-091-0/+12
|
* #802: further tests for disappearing keys (impl is still broken)Giampaolo Rodola2017-05-081-0/+11
|
* #802: add test for disappearing keys which wrapGiampaolo Rodola2017-05-081-0/+19
|
* rewordingGiampaolo Rodola2017-05-081-3/+4
|
* update testsGiampaolo Rodola2017-05-081-31/+34
|
* #802: handle the case where dict keys changes between callsGiampaolo Rodola2017-05-081-1/+9
|
* test was not correctGiampaolo Rodola2017-05-081-4/+4
|
* #802: test driven development ;)Giampaolo Rodola2017-05-081-20/+12
|
* #802 more testsGiampaolo Rodola2017-05-081-7/+21
|
* #802: first PoC of (not working) wrap functionGiampaolo Rodola2017-05-081-0/+45
|
* refactor testsGiampaolo Rodola2017-05-031-1/+2
|