def test_extra_resource_deletion(self):
        self._create_new_resource()
        self.res2.delete()
        rel_resources = self.project.releases.get(slug='all-resources').resources.all()
        self.assertTrue(self.resource in rel_resources)
        self.assertFalse(self.res2 in rel_resources)
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/releases/tests/views.py/AllReleaseTests.test_extra_resource_deletion/original