Commit 94d6df7
authored
* test: add comprehensive tests for Discord username underscore patterns (#150)
- Add test_discord_username_ending_with_underscore to verify issue #150 is resolved
- Add test_discord_username_underscore_variations with parametrized test cases
- Test usernames ending with underscores, starting with underscores, and mixed patterns
- Confirms that Discord username validation already correctly accepts underscores
- All tests pass, indicating the reported issue has been resolved
Related to: #150
* style: apply Black formatting to test_models.py
- Fix code formatting to comply with project linting standards
- No functional changes, only formatting improvements
- All tests continue to pass
* Remove redundant Discord username test per code review
- Remove test_discord_username_ending_with_underscore as it duplicates coverage
- The parametrized test_discord_username_underscore_variations already covers 'username_' case
Related to: #150
1 parent ac992e2 commit 94d6df7
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
319 | 340 | | |
320 | 341 | | |
321 | 342 | | |
| |||
0 commit comments