fix pep8
This commit is contained in:
parent
8454220adc
commit
03eecf1206
1 changed files with 5 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
|||
import sys
|
||||
import nose
|
||||
from nose.plugins.base import Plugin
|
||||
|
||||
|
||||
class ExtensionPlugin(Plugin):
|
||||
|
||||
name = "ExtensionPlugin"
|
||||
|
||||
def options(self, parser, env):
|
||||
Plugin.options(self,parser,env)
|
||||
Plugin.options(self, parser, env)
|
||||
|
||||
def configure(self, options, config):
|
||||
Plugin.configure(self, options, config)
|
||||
|
@ -16,12 +16,12 @@ class ExtensionPlugin(Plugin):
|
|||
def wantFile(self, file):
|
||||
return file.endswith('.py')
|
||||
|
||||
def wantDirectory(self,directory):
|
||||
def wantDirectory(self, directory):
|
||||
return True
|
||||
|
||||
def wantModule(self,file):
|
||||
def wantModule(self, file):
|
||||
return True
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
nose.main(addplugins=[ExtensionPlugin()])
|
||||
nose.main(addplugins=[ExtensionPlugin()])
|
||||
|
|
Loading…
Add table
Reference in a new issue