tests: Avoid creating unused temporary files

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-04-27 15:27:09 +02:00
parent 24c32831a1
commit be0c1e1964
1 changed files with 0 additions and 2 deletions

View File

@ -242,7 +242,6 @@ class TestImageChecksumPhase(PungiTestCase):
class TestChecksums(unittest.TestCase):
def setUp(self):
_, name = tempfile.mkstemp()
self.tmp_dir = tempfile.mkdtemp()
def tearDown(self):
@ -265,7 +264,6 @@ class TestChecksums(unittest.TestCase):
class TestDumpFilesizes(unittest.TestCase):
def setUp(self):
_, name = tempfile.mkstemp()
self.tmp_dir = tempfile.mkdtemp()
def tearDown(self):