forked from p15670423/monkey
UT: Fix tests for new user creation
This commit is contained in:
parent
88788d24d0
commit
b312c509ce
|
@ -9,7 +9,7 @@ TEST_USER = "test_user"
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def subprocess_check_output_spy(monkeypatch):
|
def subprocess_check_output_spy(monkeypatch):
|
||||||
def mock_check_output(command, stderr):
|
def mock_check_output(command, stderr, timeout):
|
||||||
mock_check_output.command = command
|
mock_check_output.command = command
|
||||||
|
|
||||||
mock_check_output.command = ""
|
mock_check_output.command = ""
|
||||||
|
|
|
@ -10,7 +10,7 @@ TEST_USER = "test_user"
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def subprocess_check_output_spy(monkeypatch):
|
def subprocess_check_output_spy(monkeypatch):
|
||||||
def mock_check_output(command, stderr):
|
def mock_check_output(command, stderr, timeout):
|
||||||
mock_check_output.command = command
|
mock_check_output.command = command
|
||||||
|
|
||||||
mock_check_output.command = ""
|
mock_check_output.command = ""
|
||||||
|
|
Loading…
Reference in New Issue