test_openrtm_aist_python.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 PKG = 'openrtm_aist_python'
00004 import roslib; roslib.load_manifest(PKG)  # This line is not needed with Catkin.
00005 
00006 import os
00007 import sys
00008 import unittest
00009 
00010 from subprocess import call, check_output, Popen, PIPE
00011 
00012 ## A sample python unit test
00013 class TestCode(unittest.TestCase):
00014     ## test 1 == 1
00015     def test_import_rtc(self):
00016         import OpenRTM_aist
00017         import RTC
00018         self.assertTrue(True)
00019 
00020     def test_import_rtcd(self):
00021         import OpenRTM_aist.utils.rtcd
00022         self.assertTrue(True)
00023 
00024     def test_manager_init(self):
00025         import OpenRTM_aist
00026         import RTC
00027         mgr = OpenRTM_aist.Manager.init(sys.argv)
00028         self.assertTrue(True)
00029 
00030 #unittest.main()
00031 if __name__ == '__main__':
00032     import rostest
00033     rostest.rosrun(PKG, 'test_openrtm_aist_python', TestCode)
00034 
00035 
00036 


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Oct 6 2014 03:09:15