Add coverage of some missed lines

This commit is contained in:
Veronica Berglyd Olsen
2023-12-30 16:52:24 +01:00
parent bc17305c4f
commit 05e9729c22
5 changed files with 20 additions and 12 deletions
+2 -1
View File
@@ -333,7 +333,8 @@ class ProjectBuilder:
self._path = Path(path).resolve()
if data.get("sample", False):
return self._extractSampleProject(self._path)
elif data.get("template"):
elif data.get("template"): # pragma: no cover
# Not implemented yet
return True
else:
return self._buildAndPopulate(self._path, data)