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 c91c77b commit 93f03e6Copy full SHA for 93f03e6
1 file changed
opengin/tests/e2e/basic_core_tests.py
@@ -901,6 +901,34 @@ def test_add_new_attribute_inference_cases(self):
901
"rows": [[1, None], [2, None]],
902
"should_succeed": False
903
},
904
+ {
905
+ "name": "single-row table",
906
+ "attr": "attr_single_row",
907
+ "columns": ["id", "value"],
908
+ "rows": [[1, "only-row"]],
909
+ "should_succeed": True
910
+ },
911
912
+ "name": "column count mismatch",
913
+ "attr": "attr_col_count_mismatch",
914
915
+ "rows": [[1], [2, "ok"]], # first row has fewer columns than declared
916
+ "should_succeed": False
917
918
919
+ "name": "zero rows",
920
+ "attr": "attr_zero_rows",
921
922
+ "rows": [],
923
924
925
926
+ "name": "bool/string mismatch",
927
+ "attr": "attr_bool_string_mismatch",
928
+ "columns": ["id", "flag"],
929
+ "rows": [[1, True], [2, "true"]],
930
931
932
]
933
934
for case in cases:
0 commit comments