Browse Source

repository: test_additional_free_space, assert it still exists

Marian Beermann 8 years ago
parent
commit
6c955579a8
1 changed files with 1 additions and 0 deletions
  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