(self)
| 18 | |
| 19 | class TestDubbo(unittest.TestCase): |
| 20 | def setUp(self): |
| 21 | init_log() # 初始化日志配置,调用端需要自己配置日志属性 |
| 22 | |
| 23 | zk = ZkRegister('127.0.0.1:2181') |
| 24 | self.dubbo = DubboClient('me.hourui.echo.provider.Echo', zk_register=zk) |
| 25 | # self.dubbo = DubboClient('me.hourui.echo.provider.Echo', host='127.0.0.1:20880') |
| 26 | |
| 27 | def tearDown(self): |
| 28 | # Do something to clear the test environment here. |
nothing calls this directly
no test coverage detected