Skip to content

add unittest

add unittest #2

Triggered via push April 19, 2024 13:44
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: push
ruff-linting
6s
ruff-linting
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (E265): dojo/api_v2/views.py#L1007
dojo/api_v2/views.py:1007:9: E265 Block comment should start with `# `
Ruff (F401): unittests/test_apiv2_limit_reqresp.py#L3
unittests/test_apiv2_limit_reqresp.py:3:25: F401 `dojo.models.Finding` imported but unused
Ruff (F401): unittests/test_apiv2_limit_reqresp.py#L3
unittests/test_apiv2_limit_reqresp.py:3:34: F401 `dojo.models.Test` imported but unused
Ruff (F401): unittests/test_apiv2_limit_reqresp.py#L3
unittests/test_apiv2_limit_reqresp.py:3:40: F401 `dojo.models.Test_Type` imported but unused
Ruff (F401): unittests/test_apiv2_limit_reqresp.py#L3
unittests/test_apiv2_limit_reqresp.py:3:51: F401 `dojo.models.BurpRawRequestResponse` imported but unused
Ruff (E302): unittests/test_apiv2_limit_reqresp.py#L7
unittests/test_apiv2_limit_reqresp.py:7:1: E302 Expected 2 blank lines, found 1
Ruff (E203): unittests/test_apiv2_limit_reqresp.py#L16
unittests/test_apiv2_limit_reqresp.py:16:19: E203 Whitespace before ':'
Ruff (E231): unittests/test_apiv2_limit_reqresp.py#L16
unittests/test_apiv2_limit_reqresp.py:16:20: E231 Missing whitespace after ':'
Ruff (E203): unittests/test_apiv2_limit_reqresp.py#L21
unittests/test_apiv2_limit_reqresp.py:21:32: E203 Whitespace before ':'
Ruff (E231): unittests/test_apiv2_limit_reqresp.py#L21
unittests/test_apiv2_limit_reqresp.py:21:33: E231 Missing whitespace after ':'