Skip to content

Commit 9caeb4d

Browse files
committed
minor test fix
1 parent 1ff7065 commit 9caeb4d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/unit/api/test_Fast_API__Offline_Docs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def test__bug__cache_headers_for_static_resources(self):
290290
#assert 'max-age=' in response.headers['cache-control'] # BUG: todo: see if we should be setting these
291291
else:
292292
headers_list.append('cache-control') # todo: figure out why this work in GitHub Actions and not locally
293+
headers_list.remove('last-modified')
293294
assert list_set(response.headers) == sorted(headers_list)
294295
assert 'max-age=' in response.headers['cache-control']
295296

0 commit comments

Comments
 (0)