Public Member Functions | |
def | apiError (self, args, msg=None) |
unit test assertion that fails if status code is not -1 and otherwise returns true More... | |
def | apiFail (self, args) |
unit test assertions that fails if status code is not 0 and otherwise returns true More... | |
def | apiSuccess (self, args) |
unit test assertion that fails if status code is not 1 and otherwise returns the value parameter More... | |
def | setUp (self) |
def | tearDown (self) |
Public Attributes | |
last_code | |
last_msg | |
last_val | |
master | |
Definition at line 44 of file rosclient.py.
def test.rosclient.TestRosClient.apiError | ( | self, | |
args, | |||
msg = None |
|||
) |
unit test assertion that fails if status code is not -1 and otherwise returns true
Definition at line 74 of file rosclient.py.
def test.rosclient.TestRosClient.apiFail | ( | self, | |
args | |||
) |
unit test assertions that fails if status code is not 0 and otherwise returns true
args | [int, str, val]: returnv value from ROS API call |
Definition at line 67 of file rosclient.py.
def test.rosclient.TestRosClient.apiSuccess | ( | self, | |
args | |||
) |
unit test assertion that fails if status code is not 1 and otherwise returns the value parameter
args | [int, str, val]: returnv value from ROS API call |
Definition at line 58 of file rosclient.py.
def test.rosclient.TestRosClient.setUp | ( | self | ) |
Definition at line 46 of file rosclient.py.
def test.rosclient.TestRosClient.tearDown | ( | self | ) |
Definition at line 52 of file rosclient.py.
test.rosclient.TestRosClient.last_code |
Definition at line 47 of file rosclient.py.
test.rosclient.TestRosClient.last_msg |
Definition at line 48 of file rosclient.py.
test.rosclient.TestRosClient.last_val |
Definition at line 49 of file rosclient.py.
test.rosclient.TestRosClient.master |
Definition at line 50 of file rosclient.py.