Explorar o código

test: add styler test

Mikael Koli %!s(int64=3) %!d(string=hai) anos
pai
achega
da9a5f81f5
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      redmail/test/email/test_inline_media.py

+ 8 - 0
redmail/test/email/test_inline_media.py

@@ -240,6 +240,14 @@ def test_with_image_error():
             ), 
             id="Multiindex end with spanned"
         ),
+        pytest.param(
+            lambda: pd.DataFrame(
+                [[1, 2], [4, 5]],
+                columns=pd.MultiIndex.from_tuples([("col a", "child b", "subchild a"), ("col a", "child b", "subchild a")]),
+                index=pd.MultiIndex.from_tuples([("row a", "child b", "subchild a"), ("row a", "child b", "subchild a")]),
+            ).style.set_caption("A caption"), 
+            id="With styler"
+        ),
         pytest.param(
             lambda: pd.DataFrame(
                 [],