Skip to content

Commit

Permalink
increased nodes to 3 in pytest workflow; made more robust api version…
Browse files Browse the repository at this point in the history
… check in pytest
  • Loading branch information
jpswinski committed Sep 29, 2023
1 parent a0f470a commit bfaab21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ jobs:
shell: bash -l {0}
run: |
cd clients/python
python -m pytest --verbose --organization developers --desired_nodes 2
python -m pytest --verbose --organization developers --desired_nodes 3
4 changes: 2 additions & 2 deletions clients/python/tests/test_apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ def test_version_endpoint(self, domain, organization, desired_nodes):
assert 'duration' in rsps['server']
assert 'packages' in rsps['server']
assert '.' in rsps['server']['version']
assert '-g' in rsps['server']['commit']
assert len(rsps['server']['commit']) > 0
assert ':' in rsps['server']['launch']
assert rsps['server']['duration'] > 0
assert 'icesat2' in rsps['server']['packages']
assert 'version' in rsps['icesat2']
assert 'commit' in rsps['icesat2']
assert '.' in rsps['icesat2']['version']
assert '-g' in rsps['icesat2']['commit']
assert len(rsps['icesat2']['commit'])

def test_get_version_api(self, domain, organization, desired_nodes):
icesat2.init(domain, organization=organization, desired_nodes=desired_nodes, bypass_dns=True)
Expand Down

0 comments on commit bfaab21

Please sign in to comment.