diff options
author | Jonathan Lange <jml@canonical.com> | 2011-11-03 11:09:02 -0400 |
---|---|---|
committer | Jonathan Lange <jml@canonical.com> | 2011-11-03 11:09:02 -0400 |
commit | ed780ae62d61a4248145f585beeed0e78c242922 (patch) | |
tree | 0e635546c94ec37073acea91ac04964d5f23a602 /testrepository/ui/__init__.py | |
parent | 88a19c96f6d360b1b40d20efc19bce4252a7a4bc (diff) | |
download | testrepository-git-ed780ae62d61a4248145f585beeed0e78c242922.tar.gz |
Pass through previous run.
Diffstat (limited to 'testrepository/ui/__init__.py')
-rw-r--r-- | testrepository/ui/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testrepository/ui/__init__.py b/testrepository/ui/__init__.py index 5e3ea5e..35b9c3a 100644 --- a/testrepository/ui/__init__.py +++ b/testrepository/ui/__init__.py @@ -186,7 +186,7 @@ class BaseUITestResult(SummarizingResult): AbstractUI.make_result probably wants to return an object like this. """ - def __init__(self, ui, get_id): + def __init__(self, ui, get_id, previous_run=None): """Construct an `AbstractUITestResult`. :param ui: The UI this result is associated with. @@ -195,6 +195,7 @@ class BaseUITestResult(SummarizingResult): super(BaseUITestResult, self).__init__() self.ui = ui self.get_id = get_id + self._previous_run = previous_run def _output_summary(self, run_id): """Output a test run. |