diff options
Diffstat (limited to 'testrepository/ui/__init__.py')
-rw-r--r-- | testrepository/ui/__init__.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testrepository/ui/__init__.py b/testrepository/ui/__init__.py index eac93a1..d6d4339 100644 --- a/testrepository/ui/__init__.py +++ b/testrepository/ui/__init__.py @@ -102,6 +102,17 @@ class AbstractUI(object): """ raise NotImplementedError(self.output_results) + def output_stream(self, stream): + """Show a byte stream to the user. + + This is not currently typed, but in future a MIME type may be + permitted. + + :param stream: A file like object that can be read from. The UI will + not close the file. + """ + raise NotImplementedError(self.output_results) + def output_table(self, table): """Show a table to the user. |