Skip to content

Commit

Permalink
disable latex test for notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
John Lyu committed Oct 8, 2024
1 parent 6e2a022 commit 512c784
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ def test_to_md(self, document_name, filename, execute, no_input):
)


@pytest.mark.parametrize("use", uses)
class TestConvertOther:
def test_save_notebook(self):
def test_save_notebook(self, use):
filename = "tests/notebooks/Short.ipynb"
to = "pdf"
document_name = Path(filename).stem + " saved NEW NAME"
Expand All @@ -64,18 +65,20 @@ def test_save_notebook(self):
to=to,
save_notebook=True,
execute=True,
use=use,
document_name=document_name,
output_dir="tests/test_output",
)

def test_matplotlib(self):
def test_matplotlib(self, use):
filename = "tests/notebooks/Test 1.ipynb"
to = "pdf"
document_name = Path(filename).stem + " matplotlib NEW NAME"
convert(
filename,
to=to,
execute=True,
use=use,
document_name=document_name,
table_conversion="matplotlib",
output_dir="tests/test_output",
Expand Down

0 comments on commit 512c784

Please sign in to comment.