~eeejay/+junk/checkbox-mago

« back to all changes in this revision

Viewing changes to plugins/mago_info.py

  • Committer: Eitan Isaacson
  • Date: 2009-06-10 22:21:46 UTC
  • Revision ID: eitan@ascender.com-20090610222146-v7wsqlggprk6ogla
don't fire report-result explicitly

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        except IOError:
45
45
            result.data = 'No results'
46
46
 
47
 
        self._manager.reactor.fire("report-result", result)
 
47
        #self._manager.reactor.fire("report-result", result)
48
48
 
49
49
        return result
50
50
 
86
86
            elif 'Running case' in line:
87
87
                test_name = line.split('Running case ',1)[-1]
88
88
                tests[current_file][current_suite].append(test_name)
 
89
 
89
90
        process.wait()
90
91
        print 'wait'
91
92
 
92
93
        for test_file, suites in tests.iteritems():
93
94
            for suite, cases in suites.iteritems():
94
95
                test = Test(self._manager.registry, 
95
 
                            name=suite, plugin="mago", 
 
96
                            name=suite, plugin="manual", 
96
97
                            description="Run automated %s test" % suite, 
97
98
                            command="%s --log-level=debug -f %s" % \
98
99
                                (test_runner, test_file),