PlanOpticon
fix(tests): update version and enum count assertions for v0.5.0
Commit
07dd714aa4dbff932de1fe4646d2a8a3779171592f35dedad59f0f2e76895aa3
Parent
39eab416815d2ce…
2 files changed
+1
-1
+1
-1
+1
-1
| --- tests/test_cli.py | ||
| +++ tests/test_cli.py | ||
| @@ -9,11 +9,11 @@ | ||
| 9 | 9 | def test_version(self): |
| 10 | 10 | runner = CliRunner() |
| 11 | 11 | result = runner.invoke(cli, ["--version"]) |
| 12 | 12 | assert result.exit_code == 0 |
| 13 | 13 | assert "PlanOpticon" in result.output |
| 14 | - assert "0.4.0" in result.output # matches @click.version_option | |
| 14 | + assert "0.5.0" in result.output # matches @click.version_option | |
| 15 | 15 | |
| 16 | 16 | def test_help(self): |
| 17 | 17 | runner = CliRunner() |
| 18 | 18 | result = runner.invoke(cli, ["--help"]) |
| 19 | 19 | assert result.exit_code == 0 |
| 20 | 20 |
| --- tests/test_cli.py | |
| +++ tests/test_cli.py | |
| @@ -9,11 +9,11 @@ | |
| 9 | def test_version(self): |
| 10 | runner = CliRunner() |
| 11 | result = runner.invoke(cli, ["--version"]) |
| 12 | assert result.exit_code == 0 |
| 13 | assert "PlanOpticon" in result.output |
| 14 | assert "0.4.0" in result.output # matches @click.version_option |
| 15 | |
| 16 | def test_help(self): |
| 17 | runner = CliRunner() |
| 18 | result = runner.invoke(cli, ["--help"]) |
| 19 | assert result.exit_code == 0 |
| 20 |
| --- tests/test_cli.py | |
| +++ tests/test_cli.py | |
| @@ -9,11 +9,11 @@ | |
| 9 | def test_version(self): |
| 10 | runner = CliRunner() |
| 11 | result = runner.invoke(cli, ["--version"]) |
| 12 | assert result.exit_code == 0 |
| 13 | assert "PlanOpticon" in result.output |
| 14 | assert "0.5.0" in result.output # matches @click.version_option |
| 15 | |
| 16 | def test_help(self): |
| 17 | runner = CliRunner() |
| 18 | result = runner.invoke(cli, ["--help"]) |
| 19 | assert result.exit_code == 0 |
| 20 |
+1
-1
| --- tests/test_models.py | ||
| +++ tests/test_models.py | ||
| @@ -26,11 +26,11 @@ | ||
| 26 | 26 | assert len(DiagramType) == 9 |
| 27 | 27 | |
| 28 | 28 | def test_output_format_values(self): |
| 29 | 29 | assert OutputFormat.markdown == "markdown" |
| 30 | 30 | assert OutputFormat.pdf == "pdf" |
| 31 | - assert len(OutputFormat) == 6 | |
| 31 | + assert len(OutputFormat) == 7 | |
| 32 | 32 | |
| 33 | 33 | |
| 34 | 34 | class TestTranscriptSegment: |
| 35 | 35 | def test_basic(self): |
| 36 | 36 | seg = TranscriptSegment(start=0.0, end=5.0, text="Hello world") |
| 37 | 37 |
| --- tests/test_models.py | |
| +++ tests/test_models.py | |
| @@ -26,11 +26,11 @@ | |
| 26 | assert len(DiagramType) == 9 |
| 27 | |
| 28 | def test_output_format_values(self): |
| 29 | assert OutputFormat.markdown == "markdown" |
| 30 | assert OutputFormat.pdf == "pdf" |
| 31 | assert len(OutputFormat) == 6 |
| 32 | |
| 33 | |
| 34 | class TestTranscriptSegment: |
| 35 | def test_basic(self): |
| 36 | seg = TranscriptSegment(start=0.0, end=5.0, text="Hello world") |
| 37 |
| --- tests/test_models.py | |
| +++ tests/test_models.py | |
| @@ -26,11 +26,11 @@ | |
| 26 | assert len(DiagramType) == 9 |
| 27 | |
| 28 | def test_output_format_values(self): |
| 29 | assert OutputFormat.markdown == "markdown" |
| 30 | assert OutputFormat.pdf == "pdf" |
| 31 | assert len(OutputFormat) == 7 |
| 32 | |
| 33 | |
| 34 | class TestTranscriptSegment: |
| 35 | def test_basic(self): |
| 36 | seg = TranscriptSegment(start=0.0, end=5.0, text="Hello world") |
| 37 |