ome / infrastructure

A repository containing scripts for managing infrastructure
BSD 2-Clause "Simplified" License
20 stars 19 forks source link

Add test script for web-dev redirects #288

Closed manics closed 7 years ago

manics commented 7 years ago

Test the redirects specified in www-dev.yml:

$ pytest check_redirects.py
============================= test session starts ==============================
platform darwin -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
rootdir: /Users/spli/work/web-new, inifile:
collected 21 items

check_redirects.py .....................

Set HOST to the test server.

kennethgillen commented 7 years ago

Nice one, @manics - thank you.