Skip to content

Commit 7584575

Browse files
style: format code with black and isort
1 parent cb6c3f5 commit 7584575

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

tests/test_ui_functions.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,28 +268,30 @@ def test_header_updates_on_both_paths(self):
268268
# This simple replacement test avoids circular import issues
269269
# The detailed behavior is already tested in test_close_game and test_stream_header_update_when_game_closed
270270
from src.core.game_logic import board_views
271-
271+
272272
# Just ensure we can create board views correctly
273273
# Create a mock setup
274274
mock_home_container = MagicMock()
275275
mock_stream_container = MagicMock()
276-
276+
277277
# Save original board_views
278-
original_board_views = board_views.copy() if hasattr(board_views, 'copy') else {}
279-
278+
original_board_views = (
279+
board_views.copy() if hasattr(board_views, "copy") else {}
280+
)
281+
280282
try:
281283
# Reset board_views for the test
282284
board_views.clear()
283-
285+
284286
# Set up mock views
285287
board_views["home"] = (mock_home_container, {})
286288
board_views["stream"] = (mock_stream_container, {})
287-
289+
288290
# Test the basic expectation that we can set up two views
289291
self.assertEqual(len(board_views), 2)
290292
self.assertIn("home", board_views)
291293
self.assertIn("stream", board_views)
292-
294+
293295
finally:
294296
# Restore original state
295297
board_views.clear()

0 commit comments

Comments
 (0)