def test_call_WrongUrlError(self): mydevolo = Mydevolo() with pytest.raises(WrongUrlError): mydevolo._call("test")
def test_call_WrongCredentialsError(self): mydevolo = Mydevolo() with pytest.raises(WrongCredentialsError): mydevolo._call("test")