stvnksslr/dataslate-parser

View on GitHub

Showing 77 of 100 total issues

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert parsed_roster[0].name == "Acolyte Hybrid (Leader)"

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert bool(parsed_roster)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert parsed_roster[0].name == "Reiver Sergeant"

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert bool(parsed_roster) is True
Severity: Info
Found in src/parsers/heresy/heresy_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert parsed_rosters

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert supported_version
Severity: Info
Found in src/utils/gametype__test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert parsed_roster

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert parsed_roster[0].name == "Aspiring Sorcerer"

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert bool(parsed_rosters)
Severity: Info
Found in src/parsers/w40k/w40k_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert len(parsed_roster) == 4
Severity: Info
Found in src/parsers/w40k/w40k_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert len(parsed_roster[0].wargear) == 5
Severity: Info
Found in src/parsers/w40k/w40k_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert "single_page.css" in response.text
Severity: Info
Found in src/main_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert parsed_roster[0].name == "Hellblaster Squad"
Severity: Info
Found in src/parsers/w40k/w40k_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert post_files(False, False, False).status_code == 200
Severity: Info
Found in src/main_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert stat_type == TOUGHNESS.get("name")
Severity: Info
Found in src/parsers/heresy/heresy_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert parsed_roster

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert bool(parsed_roster)
Severity: Info
Found in src/parsers/w40k/w40k_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert bool(parsed_roster)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert client.get("/").status_code == 200
Severity: Info
Found in src/main_test.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert post_files(True, False, False).status_code == 200
Severity: Info
Found in src/main_test.py by bandit
Severity
Category
Status
Source
Language