Skip to content

Commit

Permalink
stream output of inference check
Browse files Browse the repository at this point in the history
  • Loading branch information
gongy committed Feb 15, 2024
1 parent d8c8c3e commit c1c103f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ci/check_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@

for line in iter(p.stdout.readline, b''):
output += line.decode()
print(line.decode(), end="")

print(output)
print("Asserting that the output contains the expected SQL query")

assert b"[SQL] SELECT" in output and b"[/SQL]" in output

0 comments on commit c1c103f

Please sign in to comment.