Skip to content

Commit

Permalink
Merge pull request #378 from YannickJadoul/ignore-TestProject
Browse files Browse the repository at this point in the history
Suppress warnings about pytest trying to collect TestProject
  • Loading branch information
joerick authored Jun 19, 2020
2 parents 43fbcfe + 4732376 commit a1db0f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_projects/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a1db0f7

Please sign in to comment.