arichr/gophient

View on GitHub
tests/test_gopher.py

Summary

Maintainability
A
0 mins
Test Coverage

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

    assert resp
Severity: Info
Found in tests/test_gopher.py by bandit

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

    assert isinstance(resp, list)
Severity: Info
Found in tests/test_gopher.py by bandit

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

    assert isinstance(resp, bytes)
Severity: Info
Found in tests/test_gopher.py by bandit

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

    assert isinstance(resp, list)
Severity: Info
Found in tests/test_gopher.py by bandit

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

    assert '?cat forward=' in resp[-1].path
Severity: Info
Found in tests/test_gopher.py by bandit

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

    assert isinstance(resp, list)
    # We combine informational messages if they are placed together.
    # In that case resp[1] is guranteed to be a link.
Severity: Info
Found in tests/test_gopher.py by bandit

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

    assert resp and new_resp and resp != new_resp
Severity: Info
Found in tests/test_gopher.py by bandit

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

    assert resp[0].pretty_type == 'Informational message'
Severity: Info
Found in tests/test_gopher.py by bandit

There are no issues that match your filters.

Category
Status