diff --git a/tests/test_hostgroups.py b/tests/test_hostgroups.py index 6e79b20..37612f3 100644 --- a/tests/test_hostgroups.py +++ b/tests/test_hostgroups.py @@ -335,7 +335,7 @@ class TestHostgroups(unittest.TestCase): # Check that print was called with expected output calls = [ - call.write(f"The following options are available for host test-device"), + call.write("The following options are available for host test-device"), call.write("\n"), ] mock_stdout.assert_has_calls(calls, any_order=True)