svthalia/concrexit

View on GitHub
website/payments/tests/test_admin_views.py

Summary

Maintainability
C
1 day
Test Coverage

File test_admin_views.py has 621 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from unittest import mock
from unittest.mock import MagicMock, Mock, PropertyMock, patch

from django.apps import apps
from django.contrib.admin.utils import model_ngettext
Severity: Major
Found in website/payments/tests/test_admin_views.py - About 1 day to fix

Function test_post has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def test_post(
Severity: Minor
Found in website/payments/tests/test_admin_views.py - About 35 mins to fix

There are no issues that match your filters.

Category
Status