Beispiel #1
0
 def test_echo(self):
     text = 'hello'
     container = Mock()
     admin = Admin(container)
     self.assertEqual(admin.echo(text), text)
Beispiel #2
0
 def test_echo(self):
     text = 'hello'
     admin = Admin()
     self.assertEqual(admin.echo(text), text)
Beispiel #3
0
 def test_echo(self):
     text = 'hello'
     container = Mock()
     admin = Admin(container)
     self.assertEqual(admin.echo(text), text)
Beispiel #4
0
 def test_echo(self):
     text = 'hello'
     admin = Admin()
     self.assertEqual(admin.echo(text), text)