test RichOutput with metadata
()
| 92 | yield nt.assert_equal, getattr(rich, method)(), data[mime] |
| 93 | |
| 94 | def test_rich_output_metadata(): |
| 95 | """test RichOutput with metadata""" |
| 96 | data = full_data |
| 97 | metadata = full_metadata |
| 98 | rich = capture.RichOutput(data=data, metadata=metadata) |
| 99 | for method, mime in _mime_map.items(): |
| 100 | yield nt.assert_equal, getattr(rich, method)(), (data[mime], metadata[mime]) |
| 101 | |
| 102 | def test_rich_output_display(): |
| 103 | """test RichOutput.display |
nothing calls this directly
no outgoing calls
no test coverage detected