mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Better tear down of util/package tests
Explicitly removed temp directory at the end of util/package unit tests.
This commit is contained in:
parent
b8e149fe7d
commit
56ac4281c7
@ -27,7 +27,7 @@ class TestPackageUtil(unittest.TestCase):
|
|||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
""" Remove local library """
|
""" Remove local library """
|
||||||
del self.tmp_dir
|
self.tmp_dir.cleanup()
|
||||||
|
|
||||||
def test_install_existing_package(self):
|
def test_install_existing_package(self):
|
||||||
""" Test an install attempt on an existing package """
|
""" Test an install attempt on an existing package """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user