Skip to content

Commit

Permalink
test for device name not being NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Jul 18, 2024
1 parent 9978980 commit 689ab76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_miniaudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ def dummy_generator():

def test_devices():
devs = miniaudio.Devices()
devs.get_playbacks()
devs.get_captures()
# devs.get_playbacks()
# devs.get_captures()
assert( not (devs.get_playbacks()[0]["name"].startswith("NULL") ) and
not (devs.get_captures()[0]["name"].startswith("NULL")))


# The device stop callback doesn't work consistently,
Expand Down

0 comments on commit 689ab76

Please sign in to comment.