Skip to content

Commit

Permalink
Add adapter response test.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebas-ingka committed Dec 9, 2022
1 parent 7d70664 commit 572f143
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/functional/sources/test_source_freshness.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,13 @@ def _assert_freshness_results(self, path, state):
"warn_after": {"count": 10, "period": "hour"},
"error_after": {"count": 18, "period": "hour"},
},
"adapter_response": {},
# "adapter_response": {},
# XXX: or should it be smt like `AnyNonEmptyDict()`
"adapter_response": {
'_message': 'SELECT 1',
'code': 'SELECT',
'rows_affected': 1,
},
"thread_id": AnyStringWith("Thread-"),
"execution_time": AnyFloat(),
"timing": [
Expand Down

0 comments on commit 572f143

Please sign in to comment.