Esempio n. 1
0
def test_copy(azure):
    with azure_teardown(azure):
        azure.touch(a)
        assert azure.exists(a, invalidate_cache=False)
        assert not azure.exists(b, invalidate_cache=False)
        azure.cp(a, b)
        assert azure.exists(a, invalidate_cache=False)
        assert azure.exists(b, invalidate_cache=False)
Esempio n. 2
0
def test_copy(azure):
    with azure_teardown(azure):
        azure.touch(a)
        assert azure.exists(a)
        assert not azure.exists(b)
        azure.cp(a, b)
        assert azure.exists(a)
        assert azure.exists(b)