def test_hello_name(): assert hello_name('bob')== 'hello bob'
def test_hello_name(): assert hello_name('widget') == 'hello widget'
def test_hello_name(): assert hello_name('Anantha') == 'hello Anantha'
def test_hello_name(self): self.assertEqual(hello.hello_name(), "Hello Ghita!") self.assertEqual(hello.hello_name("Marian"), "Hello Marian!") self.assertRaises(ValueError, hello.hello_name, "M") with self.assertRaises(ValueError): hello.hello_name("M")
import hello hello.hello_world() hello.hello_name("David Hilbert")
def test_hello_name(self): self.assertEqual(hello_name('widget'), 'hello widget')
def test_hello_name(self): self.assertEqual(hello_name('bob'), 'hello bob')
def test_hello_name(): assert hello_name('clark') == 'hello, clark'