@@ -22,6 +22,7 @@ def test_style_from_dict():
2222 blink = False ,
2323 reverse = False ,
2424 hidden = False ,
25+ dim = False ,
2526 )
2627 assert style .get_attrs_for_style_str ("class:a" ) == expected
2728
@@ -36,6 +37,7 @@ def test_style_from_dict():
3637 blink = True ,
3738 reverse = True ,
3839 hidden = False ,
40+ dim = False ,
3941 )
4042 assert style .get_attrs_for_style_str ("class:b" ) == expected
4143
@@ -50,6 +52,7 @@ def test_style_from_dict():
5052 blink = False ,
5153 reverse = False ,
5254 hidden = False ,
55+ dim = False ,
5356 )
5457 assert style .get_attrs_for_style_str ("#ff0000" ) == expected
5558
@@ -64,6 +67,7 @@ def test_style_from_dict():
6467 blink = False ,
6568 reverse = False ,
6669 hidden = False ,
70+ dim = False ,
6771 )
6872 assert style .get_attrs_for_style_str ("class:a #00ff00" ) == expected
6973
@@ -77,6 +81,7 @@ def test_style_from_dict():
7781 blink = False ,
7882 reverse = False ,
7983 hidden = False ,
84+ dim = False ,
8085 )
8186 assert style .get_attrs_for_style_str ("#00ff00 class:a" ) == expected
8287
@@ -101,6 +106,7 @@ def test_class_combinations_1():
101106 blink = False ,
102107 reverse = False ,
103108 hidden = False ,
109+ dim = False ,
104110 )
105111 assert style .get_attrs_for_style_str ("class:a class:b" ) == expected
106112 assert style .get_attrs_for_style_str ("class:a,b" ) == expected
@@ -131,6 +137,7 @@ def test_class_combinations_2():
131137 blink = False ,
132138 reverse = False ,
133139 hidden = False ,
140+ dim = False ,
134141 )
135142 assert style .get_attrs_for_style_str ("class:a class:b" ) == expected
136143 assert style .get_attrs_for_style_str ("class:a,b" ) == expected
@@ -147,6 +154,7 @@ def test_class_combinations_2():
147154 blink = False ,
148155 reverse = False ,
149156 hidden = False ,
157+ dim = False ,
150158 )
151159 assert style .get_attrs_for_style_str ("class:b class:a" ) == expected
152160 assert style .get_attrs_for_style_str ("class:b,a" ) == expected
@@ -173,6 +181,7 @@ def test_substyles():
173181 blink = False ,
174182 reverse = False ,
175183 hidden = False ,
184+ dim = False ,
176185 )
177186 assert style .get_attrs_for_style_str ("class:a" ) == expected
178187
@@ -186,6 +195,7 @@ def test_substyles():
186195 blink = False ,
187196 reverse = False ,
188197 hidden = False ,
198+ dim = False ,
189199 )
190200 assert style .get_attrs_for_style_str ("class:a.b" ) == expected
191201 assert style .get_attrs_for_style_str ("class:a.b.c" ) == expected
@@ -201,6 +211,7 @@ def test_substyles():
201211 blink = False ,
202212 reverse = False ,
203213 hidden = False ,
214+ dim = False ,
204215 )
205216 assert style .get_attrs_for_style_str ("class:b" ) == expected
206217 assert style .get_attrs_for_style_str ("class:b.a" ) == expected
@@ -215,6 +226,7 @@ def test_substyles():
215226 blink = False ,
216227 reverse = False ,
217228 hidden = False ,
229+ dim = False ,
218230 )
219231 assert style .get_attrs_for_style_str ("class:b.c" ) == expected
220232 assert style .get_attrs_for_style_str ("class:b.c.d" ) == expected
@@ -234,6 +246,7 @@ def test_swap_light_and_dark_style_transformation():
234246 blink = False ,
235247 reverse = False ,
236248 hidden = False ,
249+ dim = False ,
237250 )
238251 after = Attrs (
239252 color = "ffbbbb" ,
@@ -245,6 +258,7 @@ def test_swap_light_and_dark_style_transformation():
245258 blink = False ,
246259 reverse = False ,
247260 hidden = False ,
261+ dim = False ,
248262 )
249263
250264 assert transformation .transform_attrs (before ) == after
@@ -260,6 +274,7 @@ def test_swap_light_and_dark_style_transformation():
260274 blink = False ,
261275 reverse = False ,
262276 hidden = False ,
277+ dim = False ,
263278 )
264279 after = Attrs (
265280 color = "ansibrightred" ,
@@ -271,6 +286,7 @@ def test_swap_light_and_dark_style_transformation():
271286 blink = False ,
272287 reverse = False ,
273288 hidden = False ,
289+ dim = False ,
274290 )
275291
276292 assert transformation .transform_attrs (before ) == after
0 commit comments