diff --git a/autohooks/terminal.py b/autohooks/terminal.py index ec2b4884..270316b4 100644 --- a/autohooks/terminal.py +++ b/autohooks/terminal.py @@ -106,7 +106,7 @@ def out(message: str): Args: message: Message to print """ - __term.print(message) + __term.out(message) def overwrite(message: str, new_line: bool = False): diff --git a/tests/api/test_terminal.py b/tests/api/test_terminal.py index 066469cb..e3ecbde3 100644 --- a/tests/api/test_terminal.py +++ b/tests/api/test_terminal.py @@ -45,7 +45,7 @@ def test_ok(self): def test_out(self): out("foo bar") - self.term.print.assert_called_with("foo bar") + self.term.out.assert_called_with("foo bar") def test_warning(self): warning("foo bar")