def delete_container(self, edit_iri = None,
                               on_behalf_of = None,
                               dr = None):
        if not edit_iri:
            if dr != None:
                conn_l.info("Using the deposit receipt to get the Edit-IRI")
                edit_iri = dr.edit
                if edit_iri:
                    conn_l.info("Deleting Container via Edit-IRI %s" % edit_iri)
                else:
                    raise Exception("No Edit-IRI was given and no suitable IRI was found in the deposit receipt.")   
            else:
                raise Exception("No Edit-IRI was given")
        else:
            conn_l.info("Deleting Container via Edit-IRI %s" % edit_iri)

        return self.delete(edit_iri,
                                    on_behalf_of = on_behalf_of)
Use the same server for all tests.
dataset/ETHPy150Open swordapp/python-client-sword2/sword2/connection.py/Connection.delete_container--crossover with--dataset/ETHPy150Open pympler/pympler/test/gui/test_web.py/WebGuiTest.setUp