Skip to content

Commit

Permalink
Fix test_metadata_notebook in test_end_to_end
Browse files Browse the repository at this point in the history
  • Loading branch information
kynan committed Jan 28, 2024
1 parent 578150f commit 4327741
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion tests/e2e_notebooks/test_metadata_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,18 @@
"metadata": {
"keep_output": false
},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"4"
]
},
"execution_count": null,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"2+2 # This cell has `\"keep_output:\" false`"
]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
("test_metadata.ipynb", "test_metadata_keep_count.ipynb.expected", ["--keep-count"]),
("test_metadata.ipynb", "test_metadata_keep_output.ipynb.expected", ["--keep-output"]),
("test_metadata.ipynb", "test_metadata_keep_output_keep_count.ipynb.expected", ["--keep-output", "--keep-count"]),
("test_metadata_notebook.ipynb", "test_metadata_notebook.ipynb", []),
("test_metadata_notebook.ipynb", "test_metadata_notebook.ipynb.expected", []),
("test_keep_metadata_keys.ipynb", "test_keep_metadata_keys.ipynb.expected", ["--keep-metadata-keys", "cell.metadata.scrolled cell.metadata.collapsed metadata.a"]),
("test_metadata_period.ipynb", "test_metadata_period.ipynb.expected", ["--extra-keys", "cell.metadata.application/vnd.databricks.v1+cell metadata.application/vnd.databricks.v1+notebook"]),
("test_strip_init_cells.ipynb", "test_strip_init_cells.ipynb.expected", ["--strip-init-cells"]),
Expand Down

0 comments on commit 4327741

Please sign in to comment.