Add a minimal coverage unit test for runtime breakage detection
authorPlamen Dimitrov <plamen.dimitrov@intra2net.com>
Tue, 17 May 2022 03:03:10 +0000 (06:03 +0300)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 19 May 2022 09:13:27 +0000 (11:13 +0200)
commit1946dc1c6857b0dcf14fa9d589df1954849c9302
tree16aad705b698a772b48f7769f8fc02c111dac274
parentf8e700d775274876ec92c49e884e8beca4456c99
Add a minimal coverage unit test for runtime breakage detection

Since the template fiels are mostly data loaded from templates, the
idea is to at least go through all of them and check for correct
class of the generated cnfvars and for defaults dictionaries making
sure the templates module is not populated with anything else.
test/cnfvar/test_templates.py [new file with mode: 0644]