def test_500_error(self):
        TEMPLATE_DIRS = (path.join(settings.ROOT_PATH, 'templates'),)
        with self.settings(TEMPLATE_DIRS=TEMPLATE_DIRS):
            response = self.client.get('/500/')
            self.assertTrue(response.content in 'Server error')
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/tests/error_pages.py/ErrorPageTests.test_500_error/swapped operands of `in`