Add tests for ai/export.py #1811
test.yaml
on: pull_request
Matrix: core_test_suite
Matrix: unit_test_suite
Annotations
23 errors
core:test-core:ubuntu-latest
Process completed with exit code 1.
|
unit:test-310:ubuntu-latest:
lumen/tests/ai/test_export.py#L119
test_format_output_pipeline
TypeError: the JSON object must be str, bytes or bytearray, not list
|
unit:test-310:ubuntu-latest
Process completed with exit code 1.
|
unit:test-310:macos-latest:
lumen/tests/sources/test_duckdb.py#L144
test_duckdb_transforms_cache
AssertionError: DataFrame.iloc[:, 0] (column name="B") are different
DataFrame.iloc[:, 0] (column name="B") values are different (100.0 %)
[index]: [0, 1]
[left]: [1.0, 0.0]
[right]: [0.0, 1.0]
At positional index 0, first diff: 1.0 != 0.0
|
unit:test-310:macos-latest:
lumen/tests/ai/test_export.py#L119
test_format_output_pipeline
TypeError: the JSON object must be str, bytes or bytearray, not list
|
unit:test-310:macos-latest
Process completed with exit code 1.
|
unit:test-312:ubuntu-latest:
lumen/tests/ai/test_export.py#L173
test_export_notebook
DeprecationWarning: There is no current event loop
|
unit:test-312:ubuntu-latest:
lumen/tests/ai/test_export.py#L117
test_format_output_pipeline
DeprecationWarning: There is no current event loop
|
unit:test-312:ubuntu-latest:
lumen/tests/ai/test_export.py#L147
test_format_output_view
DeprecationWarning: There is no current event loop
|
unit:test-312:ubuntu-latest
Process completed with exit code 1.
|
unit:test-312:macos-latest:
lumen/tests/ai/test_export.py#L173
test_export_notebook
DeprecationWarning: There is no current event loop
|
unit:test-312:macos-latest:
lumen/tests/ai/test_export.py#L117
test_format_output_pipeline
DeprecationWarning: There is no current event loop
|
unit:test-312:macos-latest:
lumen/tests/ai/test_export.py#L147
test_format_output_view
DeprecationWarning: There is no current event loop
|
unit:test-312:macos-latest
Process completed with exit code 1.
|
unit:test-310:windows-latest:
lumen\tests\ai\test_export.py#L119
test_format_output_pipeline
TypeError: the JSON object must be str, bytes or bytearray, not list
|
unit:test-310:windows-latest:
lumen\tests\ai\test_export.py#L151
test_format_output_view
assert [{'cell_type'...outputs': []}] == [{'cell_type'...ts': [], ...}]
At index 0 diff: {'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': 'view = lm.View.from_spec({\n "pipeline": {\n "source": {\n "uri": "D:\\\\a\\\\lumen\\\\lumen\\\\lumen\\\\tests/sources\\\\catalog.yml",\n "type": "intake"\n },\n "table": "test"\n },\n "type": "table"\n})\nview', 'outputs': []} != {'cell_type': 'code', 'execution_count': None, 'metadata': {}, 'outputs': [], 'source': 'view = lm.View.from_spec({\n "pipeline": {\n "source": {\n "uri": "D:\\a\\lumen\\lumen\\lumen\\tests/sources\\catalog.yml",\n "type": "intake"\n },\n "table": "test"\n },\n "type": "table"\n})\nview'}
Full diff:
[
{
'cell_type': 'code',
'
|
unit:test-310:windows-latest
Process completed with exit code 1.
|
unit:test-312:windows-latest:
lumen\tests\sources\test_duckdb.py#L144
test_duckdb_transforms_cache
AssertionError: DataFrame.iloc[:, 0] (column name="B") are different
DataFrame.iloc[:, 0] (column name="B") values are different (100.0 %)
[index]: [0, 1]
[left]: [1.0, 0.0]
[right]: [0.0, 1.0]
At positional index 0, first diff: 1.0 != 0.0
|
unit:test-312:windows-latest:
lumen\tests\sources\test_duckdb.py#L144
test_duckdb_transforms_cache
AssertionError: DataFrame.iloc[:, 0] (column name="B") are different
DataFrame.iloc[:, 0] (column name="B") values are different (100.0 %)
[index]: [0, 1]
[left]: [1.0, 0.0]
[right]: [0.0, 1.0]
At positional index 0, first diff: 1.0 != 0.0
|
unit:test-312:windows-latest:
lumen\tests\ai\test_export.py#L117
test_format_output_pipeline
DeprecationWarning: There is no current event loop
|
unit:test-312:windows-latest:
lumen\tests\ai\test_export.py#L173
test_export_notebook
DeprecationWarning: There is no current event loop
|
unit:test-312:windows-latest:
lumen\tests\ai\test_export.py#L147
test_format_output_view
DeprecationWarning: There is no current event loop
|
unit:test-312:windows-latest
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pixi-lock
|
188 KB |
|