Skip to content

Commit

Permalink
fix : tests modified
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Feb 7, 2024
1 parent 3af01b4 commit 544911f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/function_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
"""
>>> import os
>>> import time
>>> from nava import play, stop, stop_all
>>> play(os.path.join("others", "test.wav"))
>>> sound_id_1 = play(os.path.join("others", "test.wav"), async_mode=True)
Expand All @@ -13,6 +14,9 @@
>>> sound_id_3 == 1003
True
>>> stop(1001)
>>> for i in range(40):
... sound_id = play(os.path.join("others", "test.wav"), async_mode=True)
>>> time.sleep(3)
>>> stop_all()
>>> from nava.functions import nava_help
>>> nava_help()
Expand Down

0 comments on commit 544911f

Please sign in to comment.