Example #1
0
    def _deploy(self):
        testcase = TestCase(first(self.app.pargs.testcase), self.app)
        run = Run.new_run(self.app, testcase)
        print('Created tank run: {}'.format(run.run_id))

        run.init()
        run.create()
        run.dependency()
        run.provision()

        self._show_hosts(run.inspect())
        print('\nTank run id: {}'.format(run.run_id))
Example #2
0
    def init(self):
        testcase = TestCase(first(self.app.pargs.testcase), self.app)
        run = Run.new_run(self.app, testcase)
        print('Created tank run: {}'.format(run.run_id))

        run.init()