repository: test_additional_free_space, assert it still exists

This commit is contained in:
Marian Beermann 2016-11-11 16:39:11 +01:00
parent 5b31a2cd61
commit 6c955579a8
1 changed files with 1 additions and 0 deletions

View File

@ -406,6 +406,7 @@ class RepositoryFreeSpaceTestCase(RepositoryTestCaseBase):
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