mozilla-services / mozservices

INACTIVE - http://mzl.la/ghe-archive - Various utilities for Pyramid-based Mozilla applications
33 stars 17 forks source link

Rename get_test_configurator() method to get_configurator(). #13

Closed rfk closed 12 years ago

rfk commented 12 years ago

mozsvc.tests.support.TestCase currently has a method named "get_test_configurator" which subclasses can override to customize the Pyramid Configurator used for the tests. Unfortunately, having "test" in the name causes node to run this method as a unittest, which can lead to weird side-effects.

The simplest solution seems to be renaming the method to "get_configurator" so it doesn't accidentally get run as a test.