diff --git a/core/controllers/base_test.py b/core/controllers/base_test.py index 440b3f44ebb1..515c537440af 100644 --- a/core/controllers/base_test.py +++ b/core/controllers/base_test.py @@ -74,13 +74,15 @@ def test_dev_indicator_appears_in_dev_and_not_in_production(self): with self.swap(constants, 'DEV_MODE', True): response = self.get_html_response(feconf.LIBRARY_INDEX_URL) - self.assertIn('
', - response.body) + self.assertIn( + '
', + response.body) with self.swap(constants, 'DEV_MODE', False): response = self.get_html_response(feconf.LIBRARY_INDEX_URL) - self.assertIn('
', - response.body) + self.assertIn( + '
', + response.body) def test_that_no_get_results_in_500_error(self): """Test that no GET request results in a 500 error.""" diff --git a/core/templates/dev/head/pages/base.html b/core/templates/dev/head/pages/base.html index 0b7fca12f570..61f59b051c1e 100755 --- a/core/templates/dev/head/pages/base.html +++ b/core/templates/dev/head/pages/base.html @@ -155,7 +155,7 @@

-
+
Dev Mode
diff --git a/core/tests/build_sources/templates/base.html b/core/tests/build_sources/templates/base.html index b3ae8d1a40bb..78cd155047a4 100755 --- a/core/tests/build_sources/templates/base.html +++ b/core/tests/build_sources/templates/base.html @@ -160,7 +160,7 @@

-
+
Dev Mode