def demo_login(self, auth=None, url=None):
        assert all([
            auth or url,  # Must provide at least one
            not (auth and url)  # Cannot provide more than one
        ])
        if url is None:
            url = "https://piazza.com/demo_login"
            params = dict(nid=self._nid, auth=auth)
            res = requests.get(url, params=params)
        else:
            res = requests.get(url)
        self.cookies = res.cookies
The test suite has finished running.
dataset/ETHPy150Open hfaran/piazza-api/piazza_api/rpc.py/PiazzaRPC.demo_login--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/TestResult.done