Merge "Switch robots.txt test on gitea to proxy port"

This commit is contained in:
Zuul 2021-08-30 02:04:50 +00:00 committed by Gerrit Code Review
commit 861f4698aa

View File

@ -34,8 +34,8 @@ def test_ulimit(host):
def test_robots(host):
cmd = host.run('curl --insecure '
'--resolve gitea99.opendev.org:3000:127.0.0.1 '
'https://gitea99.opendev.org:3000/robots.txt')
'--resolve gitea99.opendev.org:3081:127.0.0.1 '
'https://gitea99.opendev.org:3081/robots.txt')
assert 'Disallow: /' in cmd.stdout
def test_matrix_server(host):