Commit 6ea992c
committed
Add tests for theme toggling and UI elements
- Implemented tests for dark/light theme toggle functionality in `test_theme.py`.
- Added assertions to verify the correct application of themes.
- Created tests for UI elements in `test_ui.py`, ensuring proper creation and existence of components.
- Included mock functions to simulate button interactions and validate behavior.1 parent b29b9f2 commit 6ea992c
File tree
15 files changed
+87
-48
lines changed- src
- __pycache__
- tests
- __pycache__
15 files changed
+87
-48
lines changedBinary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | | - | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments