Added test for multiple calls to KiConf.init()
Now that the code avoids calling it over and over.
This commit is contained in:
parent
d681528a03
commit
5e11b325a1
|
|
@ -79,6 +79,8 @@ def check_load_conf(caplog, dir='kicad', fail=False, catch_conf_error=False):
|
|||
KiConf.init(os.path.join(context.BOARDS_DIR, 'v5_errors/kibom-test.sch'))
|
||||
else:
|
||||
KiConf.init(os.path.join(context.BOARDS_DIR, 'v5_errors/kibom-test.sch'))
|
||||
# Check we can call it again and nothing is done
|
||||
KiConf.init('bogus')
|
||||
err = None
|
||||
cov.stop()
|
||||
cov.save()
|
||||
|
|
|
|||
Loading…
Reference in New Issue