summaryrefslogtreecommitdiff
path: root/psutil/tests/test_contracts.py
Commit message (Collapse)AuthorAgeFilesLines
* merge from masterGiampaolo Rodola2020-04-251-6/+2
|\
| * Get rid of TESTFN global variable (#1734)Giampaolo Rodola2020-04-241-5/+0
| |
| * Backport python 3 super() (#1733)Giampaolo Rodola2020-04-241-1/+2
| |
* | merge from masterGiampaolo Rodola2020-02-161-19/+0
|\ \ | |/
| * remove deprecation test: it fails intermittently because warnings uses a ↵Giampaolo Rodola2020-02-161-17/+0
| | | | | | | | global state
* | use @serial deco where neededGiampaolo Rodola2020-02-161-0/+2
| |
* | add run_from_name() utilGiampaolo Rodola2020-02-161-2/+2
|/
* point all shebangs to python 3Giampaolo Rodola2020-02-151-1/+1
|
* [Windows] use NtQuerySystemInformation to determine process exe() (#1677)Giampaolo Rodola2020-02-011-0/+2
|
* Properly handle PID type in C (#1672)Giampaolo Rodola2020-01-291-1/+2
|
* Add CI testing for FreeBSD (#1671)Giampaolo Rodola2020-01-241-7/+2
|
* AD script: print AD percentage + elapsed timeGiampaolo Rodola2020-01-161-1/+1
|
* [Windows] rewrite of open_files() (#1660)Giampaolo Rodola2020-01-091-1/+1
|
* add more types testsGiampaolo Rodola2020-01-071-10/+51
|
* add contract tests for IOPRIO_ win constantsGiampaolo Rodola2020-01-071-7/+18
|
* refactoring test_contracts.pyGiampaolo Rodola2020-01-071-24/+27
|
* Connection family/type are not converted to enums (#1535)Giampaolo Rodola2019-06-141-18/+12
|
* Fix #1494: [AIX] implement Process.environ() (#1505) (patch by Arnon Yaari)wiggin152019-05-071-1/+1
|
* [Win] return value is not properly handled for undocumented NT* Windows ↵Giampaolo Rodola2019-04-041-2/+5
| | | | APIs. (#1477)
* test runner refactoring (avoid code duplication)Giampaolo Rodola2019-03-131-2/+2
|
* Coloured tests (#1459)Giampaolo Rodola2019-03-131-1/+1
| | | Fixes #1458.
* test refactoringGiampaolo Rodola2019-03-101-47/+57
|
* Fix #1329: [AIX] disable some functions based on availability in libperfstat ↵wiggin152019-03-051-0/+2
| | | | (#1349)
* #1291: (BACKWARD-INCOMPATIBLE) remove memory_maps() on OSXGiampaolo Rodola2019-02-281-9/+2
|
* #1291 / OSX: mark memory_maps() as deprecated and make it alwats raise ↵Giampaolo Rodola2019-02-271-1/+9
| | | | AccessDenied
* Add Process.parents() method (#1433)Giampaolo Rodola2019-02-251-1/+2
|
* Add CPU frequency support for FreeBSD (#1369)Alex Manuskin2018-12-011-1/+1
| | | | Add CPU frequency support for FreeBSD (patch by @amanusk)
* FreeBSD adding temperature sensors (WIP) (#1350)Alex Manuskin2018-11-031-2/+2
| | | FreeBSD: add temperature sensors
* fix different travis failuresGiampaolo Rodola2018-10-121-1/+2
|
* OSX / SMC / sensors: revert #1284 (#1325)Giampaolo Rodola2018-08-141-2/+2
| | | | | | | | | | | | * setup.py: add py 3.7 * Revert OSX sensors code due to copyright constraints It turns out code contributed in PR #1284 was using parts of a source code released by Apple [1] which uses GPL license which is incompatible with psutil's license (BSD). [1] https://gist.github.com/edvakf/4049362
* fix failing linux testsGiampaolo Rodola2018-08-131-14/+4
|
* Rename OSX to macOS (#1298)Giampaolo Rodola2018-06-261-10/+12
| | | rename OSX to macOS
* Osx temps (#1284)Alex Manuskin2018-06-261-2/+2
| | | OSX: add temperatures() and fans()
* Revert "Move tests out of package to top level directory (#1232)" (#1242)Giampaolo Rodola2018-03-111-0/+650
| | | This reverts commit b578d2febfd35f80fcfa1ce1bdf18d44d21b1581.
* Move tests out of package to top level directory (#1232)Jon Dufresne2018-03-091-650/+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.
* Remove additional workarounds and support for Python 3.2 & 3.3 (#1228)Jon Dufresne2018-03-041-1/+0
| | | | | | Support for Python 3.3 was dropped in version 5.4.1. Support for Python 3.2 was dropped earlier. Remove all references to these unsupported versions including documentation, scripts, workarounds, etc. Eases maintenance as fewer workarounds are used for unsupported environments.
* Use FutureWarning instead of DeprecationWarning (#1188)Giampaolo Rodola2017-12-071-0/+17
| | | | | | | | * make Process.memory_info_ex() raise FutureWarning instead of DeprecationWarning because the latter is suppressed by default * update HISTORY * add test case
* OSX: implement sensors_battery (#1177)wiggin152017-11-191-1/+1
|
* skip cpu_freq tests if not available (#1170)wiggin152017-11-111-1/+4
| | | cpu_freq is not always available on Linux
* AIX: implement num_ctx_switches (#1164)wiggin152017-10-311-1/+1
| | | | | | * small changes * AIX: implement num_ctx_switches
* AIX support (#1123)wiggin152017-09-261-7/+11
| | | | | | | | | | | | | | | | | | | | * AIX support * AIX support * AIX support * AIX support - use get_procfs_path() instead of /proc * AIX support - group sections like in other modules * AIX support * AIX support * AIX support * AIX support - remove unnecessary dict copy
* skip UNIX socket tests on SUNOSGiampaolo Rodola2017-05-181-0/+2
|
* fix #1069 / freebsd: cpu_num() may return 255; now returns -1Giampaolo Rodola2017-05-141-1/+3
|
* fix failing testGiampaolo Rodola2017-05-051-1/+0
|
* fix ionice test on windows + update ionice docGiampaolo Rodola2017-05-031-3/+4
|
* fix contract testGiampaolo Rodola2017-05-011-1/+1
|
* #1022 / users(): PID cannot be determined on OpenBSD so we set it to NoneGiampaolo Rodola2017-05-011-0/+1
|
* use HAS_ support constants in testsGiampaolo Rodola2017-04-301-2/+2
|
* define support constants to check availability of functionalitiesGiampaolo Rodola2017-04-301-3/+4
|
* avoid to use @skipUnless in tests; always use @skipIf (a lot clearer)Giampaolo Rodola2017-04-301-4/+4
|