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