Ignore pylint error in test_proxy
This fixes new errors reported by last pyling version Change-Id: I94a0c9d73bce6a3c1d00920c9eaa4b78bff98c43
This commit is contained in:
parent
3fa7adcab1
commit
9f3463649a
@ -50,8 +50,9 @@ class ProxyTest(unit.TobikoUnitTest):
|
|||||||
mock.MagicMock(side_effect=self.handle_call))
|
mock.MagicMock(side_effect=self.handle_call))
|
||||||
|
|
||||||
def test_call_handler(self):
|
def test_call_handler(self):
|
||||||
|
# pylint: disable=no-member
|
||||||
handler = self.mock_handler()
|
handler = self.mock_handler()
|
||||||
proxy = MyProtoHandler(handler).use_as(MyProto)
|
proxy: MyProto = MyProtoHandler(handler).use_as(MyProto)
|
||||||
self.assertIsInstance(proxy, MyProto)
|
self.assertIsInstance(proxy, MyProto)
|
||||||
self.assertTrue(callable(proxy.call_one))
|
self.assertTrue(callable(proxy.call_one))
|
||||||
self.assertEqual(inspect.signature(MyProto.call_one),
|
self.assertEqual(inspect.signature(MyProto.call_one),
|
||||||
|
Loading…
Reference in New Issue
Block a user