KIC opened a new issue, #34303:
URL: https://github.com/apache/airflow/issues/34303
### Apache Airflow version
2.7.1
### What happened
Cant test WasbHook using azurite because of the following code segment:
airflow.providers.microsoft.azure.hooks.wasb.WasbHook.get_conn.account_url
```python
account_url = (
conn.host
if conn.host and conn.host.startswith("https://")
else f"https://{conn.login}.blob.core.windows.net/"
)
```
### What you think should happen instead
which should allow non secured sites for testing like:
` if conn.host and re.search(r'^https?:\/\/.*"', conn.host)`
### How to reproduce
use a connection to a azurite container
`docker run -p 10000:10000 mcr.microsoft.com/azure-storage/azurite
azurite-blob --blobHost 0.0.0.0 --blobPort 10000`
### Operating System
linux
### Versions of Apache Airflow Providers
_No response_
### Deployment
Virtualenv installation
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]