Merge pull request #378 from YannickJadoul/ignore-TestProject
Suppress warnings about pytest trying to collect TestProject
This commit is contained in:
@@ -14,6 +14,8 @@ class TestProject:
|
|||||||
|
|
||||||
Write out to the filesystem using `generate`.
|
Write out to the filesystem using `generate`.
|
||||||
'''
|
'''
|
||||||
|
__test__ = False # Have pytest ignore this class on `from .test_projects import TestProject`
|
||||||
|
|
||||||
files: FilesDict
|
files: FilesDict
|
||||||
template_context: TemplateContext
|
template_context: TemplateContext
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user