Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Mar 8, 2024
1 parent afda247 commit da4036c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion edb/testbase/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def http_con_binary_request(
(msize,) = uint32_unpack(content[1:5])
msg = protocol.ServerMessage.parse(mtype, content[5: msize + 1])
msgs.append(msg)
content = content[msize + 1 :]
content = content[msize + 1:]
return msgs, headers, status


Expand Down
2 changes: 1 addition & 1 deletion tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def test_doc_full_build(self):
f'STDOUT:\n{proc.stdout}\n\n'
f'STDERR:\n{proc.stderr}\n'
)

errors = []
ignored_errors = re.compile(
r'^.* WARNING: undefined label: edgedb-'
Expand Down
4 changes: 2 additions & 2 deletions tests/test_http_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def _scram_auth_expect_failure(self, user, password):
content,
headers,
status,
sid,
expected_server_sig,
_sid,
_expected_server_sig,
) = self._scram_auth(user, password)
self.assertEqual(status, 401)
self.assertEqual(content, b"Authentication failed")
Expand Down

0 comments on commit da4036c

Please sign in to comment.