tests/test_gopher.py
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert resp
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert isinstance(resp, list)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert isinstance(resp, bytes)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert isinstance(resp, list)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert '?cat forward=' in resp[-1].path
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
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.
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert resp and new_resp and resp != new_resp
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert resp[0].pretty_type == 'Informational message'
- Exclude checks