fossasia/AYABInterface

View on GitHub
AYABInterface/communication/test/test_needle_position_cache.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function test_get_normal_line has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def test_get_normal_line(self, cache, machine, machine_bytes, last_line,
Severity: Minor
Found in AYABInterface/communication/test/test_needle_position_cache.py - About 45 mins to fix

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

        def test_cache_works_only_for_specific_line(
    Severity: Minor
    Found in AYABInterface/communication/test/test_needle_position_cache.py - About 35 mins to fix

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

          def test_last(self, get_line, cache, number, line, truth):
      Severity: Minor
      Found in AYABInterface/communication/test/test_needle_position_cache.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status