maduck/GoWDiscordTeamBot

View on GitHub
unittests.py

Summary

Maintainability
A
0 mins
Test Coverage

Cannot import 'data_source' due to syntax error 'invalid syntax (<unknown>, line 33)'</unknown>
Open

from data_source import PetContainer, Pets
Severity: Critical
Found in unittests.py by pylint

Used when a syntax error is raised for a module.

Missing class docstring
Open

class PetTests(unittest.TestCase):
Severity: Info
Found in unittests.py by pylint

Used when a class has no docstring.Even an empty class must have a docstring.

Missing function or method docstring
Open

    def test_class(self):
Severity: Info
Found in unittests.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Missing function or method docstring
Open

    def test_reference_name_replacement(self):
Severity: Info
Found in unittests.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Line too long (111/100)
Open

                   '{"Effect": 2, "EffectData": 3067, "FileBase": "Pet_111", "Id": 13111, "KingdomId": 3023,' \
Severity: Info
Found in unittests.py by pylint

Used when a line is longer than a given number of characters.

Missing module docstring
Open

import unittest
Severity: Info
Found in unittests.py by pylint

Used when a module has no docstring.Empty modules do not require a docstring.

Line too long (101/100)
Open

                   ' "LockedHelpText": "FACTION", "ManaColors": {"ColorYellow": true}, "Name": "",' \
Severity: Info
Found in unittests.py by pylint

Used when a line is longer than a given number of characters.

Missing function or method docstring
Open

    def test_search(self):
Severity: Info
Found in unittests.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Line too long (112/100)
Open

                   '"ManaColors": {"ColorBlue": true}, "Name": "[Pet_000_NAME]", "ReferenceName": "Crabbie"},' \
Severity: Info
Found in unittests.py by pylint

Used when a line is longer than a given number of characters.

Missing function or method docstring
Open

    def test_matching(self):
Severity: Info
Found in unittests.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Missing function or method docstring
Open

    def test_id(self):
Severity: Info
Found in unittests.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

There are no issues that match your filters.

Category
Status