Mercurial > p > roundup > code
view demo.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 | 110ac45875ab |
| children | 7f0bc46aee67 |
line wrap: on
line source
#!/usr/bin/env python import sys import roundup from roundup.demo import main sys.exit(main())
