From e5e2725e3480a21a5c42293d4ccc759cbbfec526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Fri, 23 Feb 2024 12:33:48 +0100 Subject: [PATCH] Remove obsolete Terminal mock class in update header test module --- tests/updateheader/test_header.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/updateheader/test_header.py b/tests/updateheader/test_header.py index f9eabfd61..df9952bc8 100644 --- a/tests/updateheader/test_header.py +++ b/tests/updateheader/test_header.py @@ -13,7 +13,6 @@ from unittest.mock import MagicMock, patch from pontos.errors import PontosError -from pontos.terminal.terminal import ConsoleTerminal from pontos.testing import temp_directory, temp_file from pontos.updateheader.updateheader import _add_header as add_header from pontos.updateheader.updateheader import ( @@ -41,15 +40,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later""" -_here_ = Path(__file__).parent - - -class Terminal(ConsoleTerminal): - @staticmethod - def get_width() -> int: - return 999 - - class GetModifiedYearTestCase(TestCase): @patch("pontos.updateheader.updateheader.Git") def test_get_modified_year(self, git_mock):