Explorar el Código

repository: test_additional_free_space, assert it still exists

Marian Beermann hace 8 años
padre
commit
6c955579a8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/borg/testsuite/repository.py

+ 1 - 0
src/borg/testsuite/repository.py

@@ -406,6 +406,7 @@ class RepositoryFreeSpaceTestCase(RepositoryTestCaseBase):
             self.repository.put(H(0), b'foobar')
             with pytest.raises(Repository.InsufficientFreeSpaceError):
                 self.repository.commit()
+        assert os.path.exists(self.repository.path)
 
     def test_create_free_space(self):
         self.repository.additional_free_space = 1e20