Ensure that attempts to use a closed Deleter results in an error.
()
| 85 | |
| 86 | |
| 87 | def test_close_error(): |
| 88 | """Ensure that attempts to use a closed Deleter results in an error.""" |
| 89 | |
| 90 | d = wabs_deleter.Deleter(BlockBlobService('test', 'ing'), 'test-container') |
| 91 | d.close() |
| 92 | |
| 93 | with pytest.raises(exception.UserCritical): |
| 94 | d.delete('no value should work') |
| 95 | |
| 96 | |
| 97 | def test_processes_one_deletion(collect): |