SachinyadavAug20 commented on code in PR #77209:
URL: https://github.com/apache/airflow/pull/77209#discussion_r4615904618
##########
providers/amazon/tests/unit/amazon/aws/auth_manager/routes/test_login.py:
##########
@@ -226,6 +241,107 @@ def test_login(self, test_client, url):
"https://portal.sso.us-east-1.amazonaws.com/saml/assertion/"
)
+ @pytest.mark.parametrize(
+ "next_url",
+ [
+ "/dags/my_dag",
+ "/dags/my_dag/runs/run_1/tasks/task_1",
+ ],
+ )
+ def test_login_stores_safe_next_url(self, test_client, next_url):
Review Comment:
Done! Merged them into a single clean parametrized test.
--
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]