Esempio n. 1
0
def test_home():
    error_message = '{}.home() is unsupported on S3 service'.format(
        S3Path.__name__)
    with pytest.raises(NotImplementedError, message=error_message):
        S3Path.home()
Esempio n. 2
0
def test_home():
    with pytest.raises(NotImplementedError):
        S3Path.home()