Skip to content

Commit

Permalink
tests: Update number of files expected in cache
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny committed Oct 27, 2023
1 parent 9f0132b commit 1d8e1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_httptest.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_cached(ts=httptest.NoServer()):
with urllib.request.urlopen(ts.url() + 'get') as f:
self.assertEqual(f.read().decode('utf-8'), "what up")
self.assertEqual(len(list(glob.glob(os.path.join(tempdir,
'*')))), 4)
'*')))), 7)
with open(glob.glob(os.path.join(tempdir, '*.body'))[0], 'wb') \
as fd:
fd.write(b"waassss aaaap")
Expand Down

0 comments on commit 1d8e1ee

Please sign in to comment.