Skip to content

Commit cd2e528

Browse files
committed
Fix unused variable reference
A recent update in rdflib no longer infers the xsd prefix with the usage of the unprepared string query accidentally used before this commit. The `.prepareQuery` results should have been used here. Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent 6a690cf commit cd2e528

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/case_utils/case_file/test_case_file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ def test_confirm_mtime(
122122
)
123123

124124
n_observable_object = None
125-
for result in graph_case_file_disable_hashes.query(query_confirm_mtime):
125+
for result in graph_case_file_disable_hashes.query(query_object):
126126
(n_observable_object,) = result
127127
assert (
128128
not n_observable_object is None
129129
), "File object with expected mtime not found in hashless graph."
130130

131131
n_observable_object = None
132-
for result in graph_case_file.query(query_confirm_mtime):
132+
for result in graph_case_file.query(query_object):
133133
(n_observable_object,) = result
134134
assert (
135135
not n_observable_object is None

0 commit comments

Comments
 (0)