diff --git a/tests/test_azure.py b/tests/test_azure.py index d3907e0f..57b32231 100644 --- a/tests/test_azure.py +++ b/tests/test_azure.py @@ -508,7 +508,7 @@ def test_missing_file_handling(self): client_mock.exists.side_effect = [True, False] self.storage._client.get_blob_client.return_value = client_mock - file_that_exists = self.storage._open('file-that-exists') + file_that_exists = self.storage.open('file-that-exists') self.assertIsInstance(file_that_exists, azure_storage.AzureStorageFile) - self.assertRaises(FileNotFoundError, self.storage._open, 'file-that-does-not-exist') + self.assertRaises(FileNotFoundError, self.storage.open, 'file-that-does-not-exist')