tests/test_rating.py
File test_rating.py
has 572 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import datetime
import json
import time
import unittest
from unittest.mock import patch, MagicMock, Mock, PropertyMock, mock_open
Function test_save_to_cache
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_save_to_cache(