Skip to content

Commit fcad3ca

Browse files
Merge pull request #183 from Dog-Face-Development/copilot/fix-pylint-errors-in-tests
Fix pylint errors in tests/test_main.py
2 parents 096652b + 5960e33 commit fcad3ca

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tests/test_main.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55

66
import sys
77
import os
8-
from unittest.mock import patch, MagicMock
9-
from datetime import datetime
10-
import pytest
8+
from unittest.mock import patch
9+
import pytest # pylint: disable=import-error
1110

1211
# Add parent directory to path for imports
1312
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
1413

15-
import main
14+
import main # pylint: disable=import-error,wrong-import-position
1615

1716

18-
class TestWorkoutData:
17+
class TestWorkoutData: # pylint: disable=too-few-public-methods
1918
"""Test workout data structures and constants."""
2019

2120
def test_workout_groups_exist(self):
@@ -291,7 +290,7 @@ def test_stats_command(self, mock_input, mock_print):
291290
assert any("completed" in str(call).lower() for call in printed_output)
292291

293292

294-
class TestVideoFunctionality:
293+
class TestVideoFunctionality: # pylint: disable=too-few-public-methods
295294
"""Test video playback functionality."""
296295

297296
@patch("subprocess.call")

0 commit comments

Comments
 (0)