potiuk commented on code in PR #33531:
URL: https://github.com/apache/airflow/pull/33531#discussion_r1299354740


##########
tests/models/test_connection.py:
##########
@@ -118,6 +118,39 @@ class TestConnection:
                 None,
                 r"Invalid connection string: 
type://user:pass@protocol://host:port?param=value.",
             ),
+            (
+                "postgres://jdbc:postgresql://10.0.0.1",
+                "postgres",
+                "jdbc:postgresql://10.0.0.1",
+                None,
+                None,
+                None,
+                "",
+                {},
+                r"Invalid connection string: 
postgres://jdbc:postgresql://10.0.0.1.",
+            ),
+            (
+                "jdbc:postgresql://user:[email protected]/database",
+                "jdbc",
+                "postgresql://user:[email protected]/database",

Review Comment:
   I **think** I solved it a bit more complete now.... Please take a look.



-- 
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]

Reply via email to