Skip to content

Commit 2e6a3b0

Browse files
committed
fixed race condition in test suite
1 parent 3cd2d45 commit 2e6a3b0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,5 @@ cython_debug/
170170

171171
# local developments
172172
/test_logs/
173-
/logs/
173+
/logs/
174+
dev_guide.md

tests/test_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_stop_tracker(self):
164164

165165
self.assertFalse(self.thread.running)
166166
self.mock_logger.info.assert_any_call("Monitoring thread ended.")
167-
self.mock_logger.output.assert_called_with("Finished monitoring.", verbose_level=1)
167+
self.mock_logger.output.assert_any_call("Finished monitoring.", verbose_level=1)
168168

169169
def test_stop_tracker_not_running(self):
170170
self.thread.running = False

0 commit comments

Comments
 (0)