Skip to content

Commit 35194f1

Browse files
committed
removed /usr/bin from test cmd
1 parent cbee075 commit 35194f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/plugin/test_device_enumeration_collector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_collect_linux(system_info, device_enumeration_collector):
6060
exit_code=0,
6161
stdout=lscpu_output,
6262
stderr="",
63-
command="/usr/bin/lscpu",
63+
command="lscpu",
6464
),
6565
MagicMock(
6666
exit_code=0,
@@ -136,7 +136,7 @@ def test_collect_error(system_info, device_enumeration_collector):
136136
exit_code=1,
137137
stdout="",
138138
stderr="command failed",
139-
command="/usr/bin/lscpu",
139+
command="lscpu",
140140
),
141141
MagicMock(
142142
exit_code=1,

0 commit comments

Comments
 (0)