Import python modules by their hash.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
208 B

  1. def hello(name):
  2. return 'hello %s' % name
  3. import unittest
  4. class Tests(unittest.TestCase):
  5. def test_hello(self):
  6. self.assertEqual(hello('sam'), 'hello sam')
  7. self.assertEqual(hello('bob'), 'hello bob')