def test_delete_storage(self):
        self.create_storage()

        # Storage only can be deleted by the person who created it
        resp = self.client['maintainer'].delete(reverse('api.storage.file',
            args=[self.uuid]))
        self.assertEqual(resp.status_code, 404)

        resp = self.client['registered'].delete(reverse('api.storage.file',
            args=[self.uuid]))
        self.assertEqual(resp.status_code, 204)
Delete StorageFile
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/storage/tests/api.py/StorageTests.test_delete_storage