def testAddedFunctionAtModuleLevel(self): '''Calls function added to module from type system description.''' str1 = 'Foo' self.assertEqual(sample.multiplyString(str1, 3), str1 * 3) self.assertEqual(sample.multiplyString(str1, 0), str1 * 0)
def testAddedFunctionAtModuleLevel(self): '''Calls function added to module from type system description.''' str1 = 'Foo' self.assertEqual(sample.multiplyString(str1, 3), str1 * 3) self.assertEqual(sample.multiplyString(str1, 0), str1 * 0)