示例#1
0
 def test_add_argument_returns_service(self):
     service = Service(Mock)
     result = service.add_argument('key', 'value')
     self.assertEqual(service, result)
示例#2
0
 def test_add_argument(self):
     service = Service(Mock)
     service.add_argument('key', 'value')
     self.assertDictEqual(service.arguments, {'key': 'value'})