mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
b345e08f5d
____________________________ TestSendFile.test_ims _____________________________ self = <test.test_sendfile.TestSendFile testMethod=test_ims> def test_ims(self): """ SendFile: If-Modified-Since""" request.environ['HTTP_IF_MODIFIED_SINCE'] = time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime()) res = static_file(basename, root=root) self.assertEqual(304, res.status_code) self.assertEqual(int(os.stat(__file__).st_mtime), parse_date(res.headers['Last-Modified'])) > self.assertAlmostEqual(int(time.time()), parse_date(res.headers['Date'])) E AssertionError: 1680561734 != 1680561733.0 within 7 places (1.0 difference) test_sendfile.py:78: AssertionError |
||
---|---|---|
.. | ||
default.nix |