PlanOpticon

fix(tests): update version and enum count assertions for v0.5.0

lmata 2026-03-08 01:13 trunk
Commit 44b78767c6a7394a8dad693f42b8b076278dcfc951615961556a7c3ed6468daf
--- tests/test_cli.py
+++ tests/test_cli.py
@@ -9,11 +9,11 @@
99
def test_version(self):
1010
runner = CliRunner()
1111
result = runner.invoke(cli, ["--version"])
1212
assert result.exit_code == 0
1313
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
1515
1616
def test_help(self):
1717
runner = CliRunner()
1818
result = runner.invoke(cli, ["--help"])
1919
assert result.exit_code == 0
2020
--- 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
--- tests/test_models.py
+++ tests/test_models.py
@@ -26,11 +26,11 @@
2626
assert len(DiagramType) == 9
2727
2828
def test_output_format_values(self):
2929
assert OutputFormat.markdown == "markdown"
3030
assert OutputFormat.pdf == "pdf"
31
- assert len(OutputFormat) == 6
31
+ assert len(OutputFormat) == 7
3232
3333
3434
class TestTranscriptSegment:
3535
def test_basic(self):
3636
seg = TranscriptSegment(start=0.0, end=5.0, text="Hello world")
3737
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button