kinkgarden/kinkgarden

View on GitHub
kinks/tests.py

Summary

Maintainability
C
1 day
Test Coverage

File tests.py has 520 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import typing
import json

from django.test import TestCase
from django.urls import reverse
Severity: Major
Found in kinks/tests.py - About 1 day to fix

    Function test_edit_happy_path_works has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def test_edit_happy_path_works(self):
            edit_password = "insecure"
            list_args = dict(edit_password=make_password(edit_password))
            (
                custom_description,
    Severity: Minor
    Found in kinks/tests.py - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status