basename.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 import sys
4 import unittest
5 import rocon_gateway_utils
6 import rosunit
7 
8 class TestBaseName(unittest.TestCase):
9 
10  def setUp(self):
11  pass
12 
13  def test_basename(self):
14  self.assertEquals("dude", rocon_gateway_utils.gateway_basename('dude1285014a28c74162bf19952d1481197e'))
15 
16  def tearDown(self):
17  pass
18 
19 NAME = 'test_basename'
20 if __name__ == '__main__':
21  rosunit.unitrun('test_basename', NAME, TestBaseName, sys.argv, coverage_packages=['rocon_gateway_utils'])
def tearDown(self)
Definition: basename.py:16
def test_basename(self)
Definition: basename.py:13


rocon_gateway_utils
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 14:40:06