Skip to content

Commit

Permalink
added test to validate when plot_type is None
Browse files Browse the repository at this point in the history
  • Loading branch information
rohinigopalqxf2 authored and bosd committed Sep 19, 2024
1 parent 2d5e4da commit d1e6c24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,9 @@ def test_cli_quiet(testdir):
cli, ["--quiet", "--format", "csv", "--output", outfile, "stream", infile]
)
assert "No tables found on page-1" not in result.output

def test_cli_lattice_plot_type():
with TemporaryDirectory() as tempdir:
runner = CliRunner()
result = runner.invoke(cli, ["--plot_type", ""])
assert result.exit_code != 0, f"Output: {result.output}"

0 comments on commit d1e6c24

Please sign in to comment.