예제 #1
0
def test_cwd():
    error_message = '{}.cwd() is unsupported on S3 service'.format(
        S3Path.__name__)
    with pytest.raises(NotImplementedError, message=error_message):
        S3Path.cwd()
예제 #2
0
def test_cwd():
    with pytest.raises(NotImplementedError):
        S3Path.cwd()