Skip to content

Commit 99f8631

Browse files
committed
fix1
1 parent 83dc0f6 commit 99f8631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/benchmark/tests/test_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_infrastructure(executor_instance, mocker):
110110
assert re.match(r'CPU: .* CPU family: .* GPU: .* RAM size: .* OS family: .* OS version: .* Python version: .*',
111111
ex.get_infrastructure())
112112
else:
113-
assert ex.get_infrastructure() == 'test: test'
113+
assert ex.get_infrastructure() == 'None'
114114

115115

116116
@pytest.mark.parametrize('executor_instance', [get_host_executor, get_docker_executor])
@@ -120,7 +120,7 @@ def test_execute_process(executor_instance, mocker):
120120
assert ex.execute_process(command_line='echo -n test | md5sum',
121121
timeout=999)[1][0] == '098f6bcd4621d373cade4e832627b4f6 -\n'
122122
else:
123-
assert ex.execute_process(command_line='echo "Hello, world!"', _=None) == (0, ['Hello, world!'])
123+
assert ex.execute_process(command_line='test docker', _=None) == (0, ['test: test'])
124124

125125

126126
@pytest.mark.parametrize('executor_instance', [get_host_executor, get_docker_executor])

0 commit comments

Comments
 (0)