mik-laj commented on a change in pull request #16954:
URL: https://github.com/apache/airflow/pull/16954#discussion_r668766612
##########
File path: tests/operators/test_python.py
##########
@@ -817,6 +822,31 @@ def f():
self._run_as_operator(f, requirements=['funcsigs', 'dill'],
system_site_packages=False)
+ def test_private_repo_requirements(self):
+
+ with create_session() as session:
+ self._clean_stop_pypi_server()
+ self._initiate_pypi_server()
+ session.execute("delete from connection where conn_id =
'private_repo_test_conn';")
+ cn = Connection("private_repo_test_conn",
Review comment:
See also docs about mocking connection:
https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html#mocking-variables-and-connections
--
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]