Nekmo/pip-rating

View on GitHub
tests/test_rating.py

Summary

Maintainability
C
1 day
Test Coverage

File test_rating.py has 572 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import datetime
import json
import time
import unittest
from unittest.mock import patch, MagicMock, Mock, PropertyMock, mock_open
Severity: Major
Found in tests/test_rating.py - About 1 day to fix

    Function test_save_to_cache has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def test_save_to_cache(
    Severity: Major
    Found in tests/test_rating.py - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status