(self)
| 2279 | |
| 2280 | @pytest.mark.slow |
| 2281 | def test_names_appear_somewhere(self) -> None: |
| 2282 | self.darray.name = "testvar" |
| 2283 | self.g.map_dataarray(xplt.contourf, "x", "y") |
| 2284 | for k, ax in zip("abc", self.g.axs.flat, strict=True): |
| 2285 | assert f"z = {k}" == ax.get_title() |
| 2286 | |
| 2287 | alltxt = text_in_fig() |
| 2288 | assert self.darray.name in alltxt |
| 2289 | for label in ["x", "y"]: |
| 2290 | assert label in alltxt |
| 2291 | |
| 2292 | @pytest.mark.slow |
| 2293 | def test_text_not_super_long(self) -> None: |
nothing calls this directly
no test coverage detected