def test_needs_change_comment_is_shown(self):
        # If there are already 10 documents, this is probably going to
        # fail anyways, so be quick and obvious about it.
        assert Document.objects.count() < 10

        change_comment = 'lorem OMG FIX ipsum dolor'
        ApprovedRevisionFactory(
            document__needs_change=True,
            document__needs_change_comment=change_comment,
        )

        response = self.client.get(reverse('dashboards.contributors', locale='en-US'))
        eq_(200, response.status_code)
        assert response.content in change_comment
dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_views.py/ContributorDashTests.test_needs_change_comment_is_shown/swapped operands of `in`