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