diff --git a/dvc/remote/azure.py b/dvc/remote/azure.py index 22409f2e0..6ac1f9b87 100644 --- a/dvc/remote/azure.py +++ b/dvc/remote/azure.py @@ -29,7 +29,7 @@ class Callback(object): class RemoteAzure(RemoteBase): scheme = 'azure' REGEX = (r'^azure://' - r'(ContainerName=(?P[^;]+);)?' + r'(ContainerName=(?P[^;]+);?)?' r'(?P.+)?$') REQUIRES = {'azure-storage-blob': BlockBlobService} PARAM_ETAG = 'etag' diff --git a/tests/test_data_cloud.py b/tests/test_data_cloud.py index e9121a3f2..629358ca4 100644 --- a/tests/test_data_cloud.py +++ b/tests/test_data_cloud.py @@ -155,6 +155,7 @@ class TestDataCloud(TestDvc): for scheme, cl in [('s3://', RemoteS3), ('gs://', RemoteGS), + ('azure://ContainerName=', RemoteAzure), ('ssh://user@localhost:/', RemoteSSH), (tempfile.mkdtemp(), RemoteLOCAL)]: