We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a89561 commit 48462d1Copy full SHA for 48462d1
tests/test_record_queries.py
@@ -1,5 +1,7 @@
1
from __future__ import annotations
2
3
+import os
4
+
5
import pytest
6
import sqlalchemy as sa
7
from flask import Flask
@@ -24,5 +26,5 @@ class Example(db.Model):
24
26
assert "FROM example" in info.statement
25
27
assert info.parameters[0][0] == 5
28
assert info.duration == info.end_time - info.start_time
- assert "tests/test_record_queries.py:" in info.location
29
+ assert os.path.join("tests", "test_record_queries.py:") in info.location
30
assert "(test_query_info)" in info.location
0 commit comments