Skip to content

Commit

Permalink
review comment remove assertion for - in uaid
Browse files Browse the repository at this point in the history
  • Loading branch information
taddes committed Mar 20, 2024
1 parent 94f92c8 commit 2a22bc0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/integration/async_push_test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ async def hello(self, uaid: str | None = None, services: list[str] | None = None
result = json.loads(reply)

assert result["status"] == 200
assert "-" not in result["uaid"]
if self.uaid and self.uaid != result["uaid"]: # pragma: no cover
log.debug(f"Mismatch on re-using uaid. Old: {self.uaid}, New: {result['uaid']}")
self.channels = {}
Expand Down
1 change: 0 additions & 1 deletion tests/integration/push_test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def hello(self, uaid: str | None = None, services: list[str] | None = None):
log.debug(f"Recv: {reply!r} ({len(reply)})")
result = json.loads(reply)
assert result["status"] == 200
assert "-" not in result["uaid"]
if self.uaid and self.uaid != result["uaid"]: # pragma: no cover
log.debug(f"Mismatch on re-using uaid. Old: {self.uaid}, New: {result['uaid']}")
self.channels = {}
Expand Down

0 comments on commit 2a22bc0

Please sign in to comment.