cleanup lbrycrd

This commit is contained in:
Lex Berezhny 2020-07-29 11:46:44 -04:00
parent 3315175d1c
commit 64b8caeb5c

View file

@ -289,6 +289,7 @@ class TestLbrycrdAPIs(AsyncioTestCase):
async def test_unauthorized(self): async def test_unauthorized(self):
chain = Lbrycrd.temp_regtest() chain = Lbrycrd.temp_regtest()
await chain.ensure() await chain.ensure()
self.addCleanup(chain.stop)
await chain.start() await chain.start()
await chain.get_new_address() await chain.get_new_address()
chain.conf.set(lbrycrd_rpc_pass='wrong') chain.conf.set(lbrycrd_rpc_pass='wrong')