Skip to content

Commit

Permalink
Sleep longer, allow extraAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
multimeric committed Aug 14, 2024
1 parent d6e8469 commit b7f1c31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/test_dataset/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def test_main_example():
).each_record():
assert isinstance(record, dict)
assert set(record.keys()) == {
"extraAttributes",
"primaryAccession",
"genes",
"sequence",
Expand Down
2 changes: 1 addition & 1 deletion test/test_id_mapping/test_id_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_gene_names():
)
# At this point it might be already finished
assert request.get_status() in {"RUNNING", "FINISHED"}
sleep(1)
sleep(5)
# At this point it should definitely be finished
assert request.get_status() == "FINISHED"
for result in request.each_result():
Expand Down

0 comments on commit b7f1c31

Please sign in to comment.