disable tracemalloc after test finishes so it doesnt slow down everything else
This commit is contained in:
parent
d44d5c3304
commit
9561f93594
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ class SettingsManagement(CommandTestCase):
|
||||||
|
|
||||||
class TroubleshootingCommands(CommandTestCase):
|
class TroubleshootingCommands(CommandTestCase):
|
||||||
async def test_tracemalloc_commands(self):
|
async def test_tracemalloc_commands(self):
|
||||||
|
self.addCleanup(self.daemon.jsonrpc_tracemalloc_disable)
|
||||||
self.assertFalse(self.daemon.jsonrpc_tracemalloc_disable())
|
self.assertFalse(self.daemon.jsonrpc_tracemalloc_disable())
|
||||||
self.assertTrue(self.daemon.jsonrpc_tracemalloc_enable())
|
self.assertTrue(self.daemon.jsonrpc_tracemalloc_enable())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue