Dan Helfman преди 4 месеца
родител
ревизия
afcf253318
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      tests/end-to-end/hooks/credential/test_passcommand.py

+ 0 - 3
tests/end-to-end/hooks/credential/test_passcommand.py

@@ -5,8 +5,6 @@ import subprocess
 import sys
 import sys
 import tempfile
 import tempfile
 
 
-import pytest
-
 
 
 def generate_configuration(config_path, repository_path):
 def generate_configuration(config_path, repository_path):
     '''
     '''
@@ -59,7 +57,6 @@ def test_borgmatic_command():
 
 
         assert len(parsed_output) == 1
         assert len(parsed_output) == 1
         assert len(parsed_output[0]['archives']) == 1
         assert len(parsed_output[0]['archives']) == 1
-        archive_name = parsed_output[0]['archives'][0]['archive']
     finally:
     finally:
         os.chdir(original_working_directory)
         os.chdir(original_working_directory)
         shutil.rmtree(temporary_directory)
         shutil.rmtree(temporary_directory)