summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/config/test_schema.py26
1 files changed, 12 insertions, 14 deletions
diff --git a/tests/unittests/config/test_schema.py b/tests/unittests/config/test_schema.py
index 2f43d9e7..1d48056a 100644
--- a/tests/unittests/config/test_schema.py
+++ b/tests/unittests/config/test_schema.py
@@ -420,20 +420,18 @@ class GetSchemaDocTest(CiTestCase):
"frequency": "frequency",
"distros": ["debian", "rhel"],
}
- self.meta = MetaSchema(
- {
- "title": "title",
- "description": "description",
- "id": "id",
- "name": "name",
- "frequency": "frequency",
- "distros": ["debian", "rhel"],
- "examples": [
- 'ex1:\n [don\'t, expand, "this"]',
- "ex2: true",
- ],
- }
- )
+ self.meta: MetaSchema = {
+ "title": "title",
+ "description": "description",
+ "id": "id",
+ "name": "name",
+ "frequency": "frequency",
+ "distros": ["debian", "rhel"],
+ "examples": [
+ 'ex1:\n [don\'t, expand, "this"]',
+ "ex2: true",
+ ],
+ }
def test_get_meta_doc_returns_restructured_text(self):
"""get_meta_doc returns restructured text for a cloudinit schema."""