Пример #1
0
def make_application(options, args):
    # Create Application instance, and install Autotest plugin
    application = generic.make_application(options, args)
    application.install_plugin(Autotest)
    if options.runner:
        application.update_variables({
            Autotest.CONTEXT_TEST_RUNNER: options.runner,
        })
    return application
Пример #2
0
 def make_application(self, args):
     options, args = self.parse_options(args)
     return generic.make_application(options, args or '.')