From 2b8a6e724ac013976a26cbd4dc88a6d291caea44 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 29 Nov 2018 00:16:13 -0500 Subject: [PATCH] Revert any db changes after test_a11y --- scripts/accessibility-tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/accessibility-tests.sh b/scripts/accessibility-tests.sh index 4a4d768099..939029fdc1 100755 --- a/scripts/accessibility-tests.sh +++ b/scripts/accessibility-tests.sh @@ -36,5 +36,8 @@ SELENIUM_BROWSER=chrome BOKCHOY_HEADLESS=true $TOX paver test_a11y # The settings that we use are installed with the pa11ycrawler module export SCRAPY_SETTINGS_MODULE='pa11ycrawler.settings' +echo "Reset db cache files to remove any changes from running a11y tests" +git checkout -- common/test/db_cache + echo "Running pa11ycrawler against test course..." $TOX paver pa11ycrawler --fasttest --skip-clean --fetch-course --with-html