Skip to content

Commit

Permalink
Fix test_multi_call
Browse files Browse the repository at this point in the history
  • Loading branch information
aaront committed Jan 15, 2022
1 parent c0f71cd commit 9af2405
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_api_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ async def test_multi_call(self, async_populated_api):
assert len(results[0]) == 1
assert results[0][0]["name"] == USERNAME
assert results[1] is not None
version_split = results[1].split(".")
assert len(version_split) == 4
version_len = len(results[1].split("."))
assert 3 <= version_len <= 4

@pytest.mark.asyncio
async def test_pythonic_parameters(self, async_populated_api):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_api_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def test_multi_call(self, populated_api):
assert len(results[0]) == 1
assert results[0][0]["name"] == USERNAME
assert results[1] is not None
version_split = results[1].split(".")
assert len(version_split) == 4
version_len = len(results[1].split("."))
assert 3 <= version_len <= 4

def test_pythonic_parameters(self, populated_api):
users = populated_api.get("User")
Expand Down

0 comments on commit 9af2405

Please sign in to comment.