Conditions | 2 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | #!/usr/bin/python |
||
9 | def test_Returns_input(self): |
||
10 | from niprov.mediumviewer import ViewerMedium |
||
11 | exporter = ViewerMedium(sentinel.dependencies) |
||
12 | with patch('niprov.mediumviewer.webbrowser') as webbrowser: |
||
13 | exporter.export('the filename', sentinel.format) |
||
14 | webbrowser.open.assert_called_with('the filename') |
||
15 | |||
31 |