Commit 9536088
authored
Add tests for unregister_scale function
Added two test cases in test_scale.py:
1. test_unregister_scale: registers a temporary custom scale and verifies it is removed correctly.
2. test_unregister_scale_invalid: verifies that ValueError is raised when trying to unregister a scale that doesn't exist.1 parent 12c9d66 commit 9536088
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
0 commit comments