mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
tests: Update audio test to recognize missing sounds as NullAudioSound
This commit is contained in:
parent
50b3b87ad5
commit
7aedc21510
@ -1,6 +1,5 @@
|
||||
import pytest
|
||||
|
||||
@pytest.mark.xfail
|
||||
def test_missing_file(audiomgr):
|
||||
sound = audiomgr.get_sound('/not/a/valid/file.ogg')
|
||||
assert sound is None
|
||||
assert str(sound).startswith('NullAudioSound')
|
||||
|
Loading…
x
Reference in New Issue
Block a user