def post(self, post_data={}, collection_id=None):
        return self.client.post(
            reverse('wagtailadmin_collections:edit', args=(collection_id and self.collection.id,)),
            post_data
        )
dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailadmin/tests/test_collections_views.py/TestEditCollection.post/operator `or` -> `and`