assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_exists(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_exists(None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_exists(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_exists(None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_size(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_size(None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_size(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_size(None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_extract(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_extract(None, None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_extract(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_extract(None, None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_open(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_open(None, None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_open(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_open(None, None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_delete(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_delete(None, None)
assert excinfo.value.http_code == http.HTTPStatus.INTERNAL_SERVER_ERROR
def test_file_delete(fs_base):
with pytest.raises(FsException) as excinfo:
fs_base.file_delete(None, None)