From 195e7f27d3b25de7581de40390de309917a84572 Mon Sep 17 00:00:00 2001
From: Michael Youngstrom <myoungstrom@edx.org>
Date: Wed, 8 Mar 2017 20:28:44 +0000
Subject: [PATCH] Disable Django API browser and bump pa11ycrawler

Force run on PR for testing

Remove pa11ycrawler from base.txt for testing

Update pa11ycrawler dependency

Revert code needed for testing on Jenkins

Enable testing for Jenkins

Update accessibility-tests.sh

Update accessibility-tests.sh

Point to newest pa11ycrawler release

Remove force run on PR

Reset accessibility-tests.sh
---
 lms/envs/common.py        | 3 +++
 requirements/edx/base.txt | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/lms/envs/common.py b/lms/envs/common.py
index ac03fe7117d..eb8c3020d55 100644
--- a/lms/envs/common.py
+++ b/lms/envs/common.py
@@ -2187,6 +2187,9 @@ CSRF_COOKIE_SECURE = False
 
 REST_FRAMEWORK = {
     'DEFAULT_PAGINATION_CLASS': 'openedx.core.lib.api.paginators.DefaultPagination',
+    'DEFAULT_RENDERER_CLASSES': (
+        'rest_framework.renderers.JSONRenderer',
+    ),
     'PAGE_SIZE': 10,
     'URL_FORMAT_OVERRIDE': None,
     'DEFAULT_THROTTLE_RATES': {
diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt
index ed15f9cc7ae..b31db5e10c2 100644
--- a/requirements/edx/base.txt
+++ b/requirements/edx/base.txt
@@ -166,7 +166,7 @@ nose-exclude
 nose-ignore-docstring
 nose-randomly==1.2.0
 nosexcover==1.0.7
-pa11ycrawler==1.6.1
+pa11ycrawler==1.6.2
 pep8==1.5.7
 PyContracts==1.7.1
 python-subunit==0.0.16
-- 
GitLab