From fcbc6d115cba99cfa60aed55b6d6669bcacecc07 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Tue, 10 Jul 2018 15:30:54 -0400 Subject: [PATCH] Wire-up Azure in TestDataCloud --- dvc/remote/azure.py | 2 +- tests/test_data_cloud.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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)]: