def test_from_response_headers_works(self): assert LastmodInfo.from_response_headers("http://boop", { "ETag": "blah", "Last-Modified": "flarg" }) == LastmodInfo("http://boop", "blah", "flarg")
def test_from_response_headers_works(self): assert LastmodInfo.from_response_headers('http://boop', { 'ETag': 'blah', 'Last-Modified': 'flarg' }) == LastmodInfo('http://boop', 'blah', 'flarg')