Fix C++ tests

This commit is contained in:
Joe Rickerby
2020-05-03 10:30:44 +01:00
parent 5d665aac39
commit ffd5d44cdc
2 changed files with 36 additions and 10 deletions
+6
View File
@@ -26,3 +26,9 @@ class TemplateProject:
content = content.render(self.template_context)
f.write(content)
def copy(self):
other = TemplateProject()
other.files = self.files.copy()
other.template_context = self.template_context.copy()
return other