Skip to content

Commit

Permalink
Merge pull request #157 from jwsblokland/bugfix/tests
Browse files Browse the repository at this point in the history
Tests: (fix) Resolved some minor issues
  • Loading branch information
mattjala authored Dec 11, 2023
2 parents 9af853d + 02148b7 commit 869f3ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/apps/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def get_test_filenames():
"d_link_soft.h5",
"scale_offset.h5",
"fletcher32.h5",
"undecodable_attr.h5"
"undecodable_attr.h5",
"diamond.h5"
)

cfg = {
Expand Down
4 changes: 2 additions & 2 deletions test/hl/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_create(self):
# re-open as read-only
if h5py.__name__ == "h5pyd":
wait_time = 90 # change to >90 to test async updates
print("waiting {wait_time} seconds for root scan sync")
print("waiting {wait_time:d} seconds for root scan sync".format(wait_time = wait_time))
time.sleep(wait_time) # let async process update obj number
f = h5py.File(filename, 'r')
self.assertEqual(f.filename, filename)
Expand Down Expand Up @@ -328,7 +328,7 @@ def test_http_url(self):
endpoint = os.environ["HS_ENDPOINT"]
filename = self.getFileName("test_http_url_file")
f = h5py.File(filename, 'w')

f.close()

url = endpoint + filename
Expand Down

0 comments on commit 869f3ed

Please sign in to comment.