ashb commented on code in PR #26765:
URL: https://github.com/apache/airflow/pull/26765#discussion_r984540662
##########
tests/always/test_connection.py:
##########
@@ -737,3 +737,6 @@ def test_extra_warnings_non_json(self):
def test_extra_warnings_non_dict_json(self):
with pytest.warns(DeprecationWarning, match='not parse as a
dictionary'):
Connection(conn_id='test_extra', conn_type='none', extra='"hi"')
+
+ def test_get_uri_no_conn_type(self):
+ assert Connection().get_uri() == 'none://'
Review Comment:
What's the usecase for this? Cos this doesn't seem like a useful URL, not to
mention the column has this defined as `nullable=False`!
--
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]