basename.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 import sys
00004 import unittest
00005 import rocon_gateway_utils
00006 import rosunit
00007 
00008 class TestBaseName(unittest.TestCase):
00009 
00010     def setUp(self):
00011         pass
00012 
00013     def test_basename(self):
00014         self.assertEquals("dude", rocon_gateway_utils.gateway_basename('dude1285014a28c74162bf19952d1481197e'))
00015 
00016     def tearDown(self):
00017         pass
00018 
00019 NAME = 'test_basename'
00020 if __name__ == '__main__':
00021     rosunit.unitrun('test_basename', NAME, TestBaseName, sys.argv, coverage_packages=['rocon_gateway_utils'])


rocon_gateway_utils
Author(s): Daniel Stonier
autogenerated on Sat Jun 8 2019 18:48:41