diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-08-04 16:52:09 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-08-04 16:57:51 +0200 |
commit | 6bccaa958248dd80eab6bb4eeb31ddb51a4faf4a (patch) | |
tree | 0bfee2a150f4018c636f86d7c94522f8d2a894bf /tests/test_commands.py | |
parent | 413d571e4ba5969020031c25d0048e49d581d525 (diff) |
Use tempfile.TemporaryDirectory() instead of the old mkdtemp
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r-- | tests/test_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index 83f5c5e..9cd5c88 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -57,7 +57,7 @@ class testCommandsSimple(unittest.TestCase, CommandsMixin): self._run_command(command.Index(), args) def tearDown(self): - pass + self.tmpdir.cleanup() def test_init(self): args = { @@ -216,7 +216,7 @@ class testCommandsComplex(unittest.TestCase, CommandsMixin): self._run_command(command.Index(), args) def tearDown(self): - pass + self.tmpdir.cleanup() def test_get_values_from_list(self): args = { |