ashb commented on a change in pull request #7653: [AIRFLOW-6914] Add a default
robots.txt
URL: https://github.com/apache/airflow/pull/7653#discussion_r405104784
##########
File path: tests/www/test_views.py
##########
@@ -319,6 +319,11 @@ def test_not_found(self):
resp = self.client.get('/', follow_redirects=True)
self.assertEqual(resp.status_code, 404)
+ def test_robots_txt(self):
+ resp = self.client.get('/test/robots.txt', follow_redirects=True)
Review comment:
But serving /test/robots.txt won't do anything - nothing will ever request
it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services