Skip to content

Commit 022350a

Browse files
Change test cases to match new behavior (#36207)
1 parent c2533cc commit 022350a

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

sdk/storage/azure-storage-file-share/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/storage/azure-storage-file-share",
5-
"Tag": "python/storage/azure-storage-file-share_e105feb7fb"
5+
"Tag": "python/storage/azure-storage-file-share_d41363cb87"
66
}

sdk/storage/azure-storage-file-share/tests/test_directory.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,8 +1394,7 @@ def test_bad_audience_directory_client(self, **kwargs):
13941394
)
13951395

13961396
# Assert
1397-
with pytest.raises(ClientAuthenticationError):
1398-
directory_client.exists()
1397+
directory_client.exists()
13991398

14001399

14011400
# ------------------------------------------------------------------------------

sdk/storage/azure-storage-file-share/tests/test_directory_async.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,6 @@ async def test_bad_audience_directory_client(self, **kwargs):
14951495
)
14961496

14971497
# Assert
1498-
with pytest.raises(ClientAuthenticationError):
1499-
await directory_client.exists()
1498+
await directory_client.exists()
15001499

15011500
# ------------------------------------------------------------------------------

sdk/storage/azure-storage-file-share/tests/test_file.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3761,7 +3761,6 @@ def test_bad_audience_file_client(self, **kwargs):
37613761
)
37623762

37633763
# Assert
3764-
with pytest.raises(ClientAuthenticationError):
3765-
file_client.exists()
3764+
file_client.exists()
37663765

37673766
# ------------------------------------------------------------------------------

sdk/storage/azure-storage-file-share/tests/test_file_async.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3877,5 +3877,4 @@ async def test_bad_audience_file_client(self, **kwargs):
38773877
)
38783878

38793879
# Assert
3880-
with pytest.raises(ClientAuthenticationError):
3881-
await file_client.exists()
3880+
await file_client.exists()

0 commit comments

Comments
 (0)