Python port of ShadowsocksR
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
566 B

10 years ago
import nose
from nose.plugins.base import Plugin
10 years ago
10 years ago
class ExtensionPlugin(Plugin):
name = "ExtensionPlugin"
def options(self, parser, env):
10 years ago
Plugin.options(self, parser, env)
10 years ago
def configure(self, options, config):
Plugin.configure(self, options, config)
self.enabled = True
def wantFile(self, file):
return file.endswith('.py')
10 years ago
def wantDirectory(self, directory):
10 years ago
return True
10 years ago
def wantModule(self, file):
10 years ago
return True
if __name__ == '__main__':
10 years ago
nose.main(addplugins=[ExtensionPlugin()])