mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
removing skips for older version of psutil.
This commit is contained in:
parent
15853c3760
commit
6916873267
1 changed files with 0 additions and 5 deletions
|
@ -319,7 +319,6 @@ def mocked_proc():
|
|||
yield mocked_proc
|
||||
|
||||
|
||||
@pytest.mark.skipif(not ps.PSUTIL2, reason="Only run for psutil 2.x")
|
||||
def test__get_proc_cmdline():
|
||||
cmdline = ["echo", "питон"]
|
||||
ret = ps._get_proc_cmdline(DummyProcess(cmdline=cmdline))
|
||||
|
@ -336,7 +335,6 @@ def test__get_proc_cmdline():
|
|||
assert ret == []
|
||||
|
||||
|
||||
@pytest.mark.skipif(not ps.PSUTIL2, reason="Only run for psutil 2.x")
|
||||
def test__get_proc_create_time():
|
||||
cmdline = ["echo", "питон"]
|
||||
create_time = 1694729500.1093624
|
||||
|
@ -364,7 +362,6 @@ def test__get_proc_create_time():
|
|||
assert ret is None
|
||||
|
||||
|
||||
@pytest.mark.skipif(not ps.PSUTIL2, reason="Only run for psutil 2.x")
|
||||
def test__get_proc_name():
|
||||
cmdline = ["echo", "питон"]
|
||||
proc_name = "proc_name"
|
||||
|
@ -386,7 +383,6 @@ def test__get_proc_name():
|
|||
assert ret == []
|
||||
|
||||
|
||||
@pytest.mark.skipif(not ps.PSUTIL2, reason="Only run for psutil 2.x")
|
||||
def test__get_proc_status():
|
||||
cmdline = ["echo", "питон"]
|
||||
proc_status = "sleeping"
|
||||
|
@ -408,7 +404,6 @@ def test__get_proc_status():
|
|||
assert ret is None
|
||||
|
||||
|
||||
@pytest.mark.skipif(not ps.PSUTIL2, reason="Only run for psutil 2.x")
|
||||
def test__get_proc_username():
|
||||
cmdline = ["echo", "питон"]
|
||||
proc_username = "root"
|
||||
|
|
Loading…
Add table
Reference in a new issue