Browse Source

fix pep8

auth
clowwindy 10 years ago
parent
commit
03eecf1206
  1. 8
      tests/nose_plugin.py

8
tests/nose_plugin.py

@ -1,13 +1,13 @@
import sys
import nose import nose
from nose.plugins.base import Plugin from nose.plugins.base import Plugin
class ExtensionPlugin(Plugin): class ExtensionPlugin(Plugin):
name = "ExtensionPlugin" name = "ExtensionPlugin"
def options(self, parser, env): def options(self, parser, env):
Plugin.options(self,parser,env) Plugin.options(self, parser, env)
def configure(self, options, config): def configure(self, options, config):
Plugin.configure(self, options, config) Plugin.configure(self, options, config)
@ -16,10 +16,10 @@ class ExtensionPlugin(Plugin):
def wantFile(self, file): def wantFile(self, file):
return file.endswith('.py') return file.endswith('.py')
def wantDirectory(self,directory): def wantDirectory(self, directory):
return True return True
def wantModule(self,file): def wantModule(self, file):
return True return True

Loading…
Cancel
Save