def test_exclude_entity(self):
        memory_entry = TranslationMemoryFactory.create(source="Pontoon Intro")
        response = self.client.get('/translation-memory/', {
            'text': 'Pontoon Intro',
            'pk': memory_entry.entity.pk,
            'locale': memory_entry.locale.code
        })
        assert_code(response, 200)
        assert_equal(response.content, '[]')
Exclude entity from results to avoid false positive results.
dataset/ETHPy150Open mozilla/pontoon/pontoon/base/tests/test_views.py/TranslateMemoryTests.test_exclude_entity