I extended Client in pysmvt so that redirects can be checked easier:
I extended Client in pysmvt so that redirects can be checked easier:

    url = '/shipments/%d/summary' % s1id
    req, resp = self.admc.post(url, data=topost, follow_redirects=True)
    assert resp.status_code == 200, resp.status
    assert 'Shipment updated' in resp.data, resp.data
    assert req.url.endswith(url)

basically, using follow_redirects, will always return a BaseRequest (i.e. the last redirect request), response tuple

level12/blazeweb,level12/blazeweb,level12/blazeweb