mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 08:05:06 +02: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:
@@ -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 """
|
||||||
|
Reference in New Issue
Block a user