UT: Fix tests for new user creation

This commit is contained in:
Shreya Malviya 2022-04-01 18:11:55 +05:30
parent 88788d24d0
commit b312c509ce
2 changed files with 2 additions and 2 deletions

View File

@ -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 = ""

View File

@ -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 = ""