Skip to content

Commit

Permalink
Update unit test to check for hanging threads
Browse files Browse the repository at this point in the history
  • Loading branch information
joetoddsonos committed Mar 31, 2024
1 parent 2cb68a8 commit a3945c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_process(self):
self.decoder.process(test_data)
self.decoder.finish()
self.assertTrue(self.write_callback_called)
self.assertFalse(self.decoder._thread.is_alive())

def test_process_blocks(self):
""" Test that FLAC data can be decoded in blocks """
Expand Down

0 comments on commit a3945c3

Please sign in to comment.