mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-24 15:12:00 +00:00
repository: test_additional_free_space, assert it still exists
This commit is contained in:
parent
5b31a2cd61
commit
6c955579a8
1 changed files with 1 additions and 0 deletions
|
@ -406,6 +406,7 @@ def test_additional_free_space(self):
|
||||||
self.repository.put(H(0), b'foobar')
|
self.repository.put(H(0), b'foobar')
|
||||||
with pytest.raises(Repository.InsufficientFreeSpaceError):
|
with pytest.raises(Repository.InsufficientFreeSpaceError):
|
||||||
self.repository.commit()
|
self.repository.commit()
|
||||||
|
assert os.path.exists(self.repository.path)
|
||||||
|
|
||||||
def test_create_free_space(self):
|
def test_create_free_space(self):
|
||||||
self.repository.additional_free_space = 1e20
|
self.repository.additional_free_space = 1e20
|
||||||
|
|
Loading…
Reference in a new issue