diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-04-08 17:38:38 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-04-08 17:38:38 +0200 |
| commit | b345e08f5d02ec31687d090c1e61820476925c60 (patch) | |
| tree | 6071649af23f0ce84f8ce348141b0a589b3a5c7a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | a6ab4bfac4447bd550a5d20da282881136c31c4a (diff) | |
python310Packages.bottle: disable timing sensitive test
____________________________ 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
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
