annotate roundup/dist/command/install_lib.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 85dfe17c182e
children 42bf0a707763
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4516
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
1 from roundup.dist.command.build import build_message_files, check_manifest
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
2 from distutils.command.install_lib import install_lib as base
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
3
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
4 class install_lib(base):
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
5
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
6 def run(self):
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
7 check_manifest()
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
8 build_message_files(self)
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
9 base.run(self)

Roundup Issue Tracker: http://roundup-tracker.org/