pacifica/pacifica-cartd

View on GitHub
tests/test/utils_test.py

Summary

Maintainability
A
0 mins
Test Coverage

File utils_test.py has 326 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

#!/usr/bin/python
# -*- coding: utf-8 -*-
"""File used to unit test the pacifica_cart."""
import os
import json
Severity: Minor
Found in tests/test/utils_test.py - About 3 hrs to fix

    TestUtils has 22 functions (exceeds 20 allowed). Consider refactoring.
    Wontfix

    class TestUtils(TestCartdBase, helper.CPWebCase):
        """Contains all the tests for the CartUtils class."""
    
        def test_create_download_path(self):
            """Test the creation of the download path for a cart file."""
    Severity: Minor
    Found in tests/test/utils_test.py - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status