Refactor test cases for improved readability and consistency
- Adjusted function signatures in various test files to enhance clarity by aligning parameters. - Updated patching syntax for better readability across test cases. - Improved formatting and spacing in test assertions and mock setups. - Ensured consistent use of async/await patterns in async test functions. - Enhanced comments for better understanding of test intentions.
This commit is contained in:
@@ -91,6 +91,7 @@ class SoundRepository(BaseRepository[Sound]):
|
||||
return list(result.all())
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"Failed to get unnormalized sounds by type: %s", sound_type,
|
||||
"Failed to get unnormalized sounds by type: %s",
|
||||
sound_type,
|
||||
)
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user