def test_get_translation_file(self):
        """Test download of a translation file"""
        self.test_resource_edit()
        url = reverse('download_translation', args=[self.project.slug, self.resource.slug, self.language.code])
        resp = self.client['maintainer'].post(url)
        self.assertEqual(resp.status_code, 200)
        self.assertTrue(resp['Content-Disposition'] in 'project1_resource1_pt_BR.po')
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/tests/views/views.py/CoreViewsTest.test_get_translation_file/swapped operands of `in`