Import python modules by their hash.
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- def hello(name):
- return 'hello %s' % name
-
- import unittest
-
- class Tests(unittest.TestCase):
- def test_hello(self):
- self.assertEqual(hello('sam'), 'hello sam')
- self.assertEqual(hello('bob'), 'hello bob')
|