🐛 | Fix SonarQube violations - use items() and remove assert True
All checks were successful
SonarQube Code Quality Scan / SonarQube Scan (push) Successful in 1m42s

This commit is contained in:
2026-06-04 19:00:38 +03:00
parent 3b6e4f8b4d
commit fb478d6612
3 changed files with 2 additions and 6 deletions

View File

@@ -230,7 +230,6 @@ class TestDiscordRPC:
drpc._start_ts = 1000
# Should not crash
drpc._send_presence()
assert True
def test_connect_oserror_handled(self):
"""_connect handles OSError gracefully (covers lines 119-122)."""