def assertTemplateNotUsed(self, response, template_name):
        """
        Asserts that the template with the provided name was NOT used in
        rendering the response.
        """
        template_names = [t.name for t in to_list(response.template)]
        self.failIf(template_names in template_name,
            (u"Template '%s' was used unexpectedly in rendering the"
             u" response") % template_name)
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/test/testcases.py/TransactionTestCase.assertTemplateNotUsed/swapped operands of `in`