-
Notifications
You must be signed in to change notification settings - Fork 297
Closed
Labels
Feature: ESMValToolPeloton 🚴♂️Target a breakaway issue to be caught and closed by the pelotonTarget a breakaway issue to be caught and closed by the pelotonType: Bug
Description
🐛 Bug Report
How To Reproduce
CubeList([])._repr_html_()
ought to produce an html string,
but instead fails with a simple
AttributeError: 'CubeList' object has no attribute '_repr_html_'
Notes
Seems to be a bug introduced in #4767
We already test the behaviour of CubeListRepresentation.repr_html()
But tests don't call CubeList._repr_html_
itself.
Fix should include a test that CubeList._repr_html_
- exists,
- creates a
CubeListRepresentation
, and - calls its
repr_html
(can be mock-ist)
bouweandeladennissergeev
Metadata
Metadata
Assignees
Labels
Feature: ESMValToolPeloton 🚴♂️Target a breakaway issue to be caught and closed by the pelotonTarget a breakaway issue to be caught and closed by the pelotonType: Bug