Example #1
0
def test_hello_name():
    assert hello_name('bob')== 'hello bob'
Example #2
0
def test_hello_name():
    assert hello_name('widget') == 'hello widget'
Example #3
0
def test_hello_name():
    assert hello_name('Anantha') == 'hello Anantha'
Example #4
0
 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')
Example #7
0
 def test_hello_name(self):
     self.assertEqual(hello_name('bob'), 'hello bob')
Example #8
0
def test_hello_name():
    assert hello_name('clark') == 'hello, clark'