Skip to content

Commit

Permalink
2.0.0 - Material Design 3
Browse files Browse the repository at this point in the history
Fix test according to the new API.
  • Loading branch information
HeaTTheatR committed Nov 27, 2023
1 parent 0f88c83 commit 02e38cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kivymd/tests/label/test_switch_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

class TestSwitchTheme(MDApp):
def check_label_color(self, *args):
assert self.root.ids.label_two.color == [1.0, 1.0, 1.0, 1.0]
assert self.root.ids.label_two.color == self.theme_cls.onSurfaceColor
self.stop()

def callback_change_theme(self):
Expand Down

0 comments on commit 02e38cc

Please sign in to comment.