Suppress warnings about pytest trying to collect TestProject

This commit is contained in:
Yannick Jadoul
2020-06-18 00:23:09 +02:00
parent 43fbcfe008
commit 47323761dd
+2
View File
@@ -14,6 +14,8 @@ class TestProject:
Write out to the filesystem using `generate`.
'''
__test__ = False # Have pytest ignore this class on `from .test_projects import TestProject`
files: FilesDict
template_context: TemplateContext