Mercurial > p > roundup > code
diff test/test_mailgw.py @ 5035:b5bb492e4b3c
Rename TestMessage to ExampleMessage
When py.test is searching for tests it detects TestMessage as a
potential class with test cases because it has 'Test' in its name.
Because TestMessage contains a __init__ constructor py.test returns a
warning that it can't collect tests from it. Lets rename the class to
ExampleMessage to avoid this issue.
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Fri, 21 Aug 2015 17:37:22 +1000 |
| parents | 63c79c0992ae |
| children | 380d8d8b30a3 |
