cosmetic: reorder

This commit is contained in:
Antoine Beaupré 2015-10-01 00:15:12 -04:00
parent a5f32b0a27
commit 1b29699403
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,7 @@ class ConversionTestCase(BaseTestCase):
# throw some stuff in that repo, copied from `RepositoryTestCase.test1`_
for x in range(100):
self.attic_repo.put(('%-32d' % x).encode('ascii'), b'SOMEDATA')
self.attic_repo.close()
# we use the repo dir for the created keyfile, because we do
# not want to clutter existing keyfiles
@ -46,7 +47,6 @@ class ConversionTestCase(BaseTestCase):
os.environ['BORG_KEYS_DIR'] = self.tmppath
os.environ['ATTIC_PASSPHRASE'] = 'test'
self.key = attic.key.KeyfileKey.create(self.attic_repo, self.MockArgs(self.tmppath))
self.attic_repo.close()
def tearDown(self):
shutil.rmtree(self.tmppath)