Skip to content

Commit c9756d9

Browse files
expands tests
1 parent cf6bcbc commit c9756d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/expectations/test_operation.py

+4
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ def test_check_columns(dataset_path):
205205
assert result
206206
assert "2 out of 2 tables had expected columns" in message
207207

208+
assert details[0]["table"] == "entity"
209+
assert any(x in details[0]["actual"] for x in expected["entity"])
210+
assert any(x in details[0]["expected"] for x in expected["entity"])
211+
208212

209213
def test_check_columns_failure(dataset_path):
210214
expected = {

0 commit comments

Comments
 (0)