Fix mypy errors caused by testscenarios 0.7.0

Depends-on: https://review.opendev.org/c/openstack/requirements/+/1001920
Change-Id: I983fa3d5a53eb15f9055639d953f60a57f983457
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami committed 2026-09-26 02:22:03 +00:00
1 parent 2df669efbe
commit fec7d14784
1 file changed
+3 -3
+3 -3
View File
@@ -251,7 +251,7 @@ class GeneratorTestCase(base.BaseTestCase):
),
}
content_scenarios = [
content_scenarios: list[tuple[str, dict[str, Any]]] = [
(
'empty',
dict(
@@ -1251,7 +1251,7 @@ class GeneratorTestCase(base.BaseTestCase):
),
]
output_file_scenarios = [
output_file_scenarios: list[tuple[str, dict[str, Any]]] = [
('stdout', dict(stdout=True, output_file=None)),
('output_file', dict(output_file='sample.conf', stdout=False)),
]
@@ -1455,7 +1455,7 @@ GENERATOR_OPTS = {
class MachineReadableGeneratorTestCase(base.BaseTestCase):
all_opts = GeneratorTestCase.opts
all_groups = GeneratorTestCase.groups
content_scenarios = [
content_scenarios: list[tuple[str, dict[str, Any]]] = [
(
'single_namespace',
dict(