Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update to nose plugin based on nose docs. #12

Merged
merged 1 commit into from

2 participants

@ralphbean

According to the following, add_options is deprecated.
http://rtfd.org/docs/nose/en/latest/plugins/interface.html

@bbangert bbangert merged commit 0614ebe into Pylons:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 11, 2011
  1. @ralphbean

    Changed add_options to options for nose plugin.

    ralphbean authored
    According to the following, add_options is deprecated.
      http://rtfd.org/docs/nose/en/latest/plugins/interface.html
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  pylons/test.py
View
2  pylons/test.py
@@ -41,7 +41,7 @@ class PylonsPlugin(nose.plugins.Plugin):
enableOpt = 'pylons_config'
name = 'pylons'
- def add_options(self, parser, env=os.environ):
+ def options(self, parser, env=os.environ):
"""Add command-line options for this plugin"""
env_opt = 'NOSE_WITH_%s' % self.name.upper()
env_opt.replace('-', '_')
Something went wrong with that request. Please try again.