scripts
test
test_sound_client.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
import
unittest
4
5
import
rospy
6
import
rostest
7
from
sound_play.libsoundplay
import
SoundClient
8
9
class
TestCase
(unittest.TestCase):
10
def
test_soundclient_constructor
(self):
11
s =
SoundClient
()
12
self.assertIsNotNone(s)
13
14
if
__name__ ==
'__main__'
:
15
rostest.rosrun(
'sound_play'
,
'test_sound_client'
, TestCase)
16
17
__author__ =
'Felix Duvallet'
sound_play.libsoundplay
Definition:
libsoundplay.py:1
test_sound_client.TestCase
Definition:
test_sound_client.py:9
test_sound_client.TestCase.test_soundclient_constructor
def test_soundclient_constructor(self)
Definition:
test_sound_client.py:10
sound_play.libsoundplay.SoundClient
This class is a helper class for communicating with the sound_play node via the sound_play.SoundRequest message.
Definition:
libsoundplay.py:92
sound_play
Author(s): Blaise Gassend
autogenerated on Fri Jun 9 2023 02:47:15