Skip to content

[FIX]doument_page_portal: added test cases for controller

Codecov / codecov/patch failed Aug 13, 2024 in 0s

30.95% of diff hit (target 81.51%)

View this Pull Request on Codecov

30.95% of diff hit (target 81.51%)

Annotations

Check warning on line 8 in document_page_portal/controllers/portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/controllers/portal.py#L6-L8

Added lines #L6 - L8 were not covered by tests

Check warning on line 16 in document_page_portal/controllers/portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/controllers/portal.py#L13-L16

Added lines #L13 - L16 were not covered by tests

Check warning on line 23 in document_page_portal/controllers/portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/controllers/portal.py#L19-L23

Added lines #L19 - L23 were not covered by tests

Check warning on line 29 in document_page_portal/controllers/portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/controllers/portal.py#L26-L29

Added lines #L26 - L29 were not covered by tests

Check warning on line 32 in document_page_portal/controllers/portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/controllers/portal.py#L32

Added line #L32 was not covered by tests

Check warning on line 37 in document_page_portal/controllers/portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/controllers/portal.py#L35-L37

Added lines #L35 - L37 were not covered by tests

Check warning on line 14 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L10-L14

Added lines #L10 - L14 were not covered by tests

Check warning on line 26 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L22-L26

Added lines #L22 - L26 were not covered by tests

Check warning on line 32 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L28-L32

Added lines #L28 - L32 were not covered by tests

Check warning on line 38 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L34-L38

Added lines #L34 - L38 were not covered by tests

Check warning on line 42 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L41-L42

Added lines #L41 - L42 were not covered by tests

Check warning on line 47 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L44-L47

Added lines #L44 - L47 were not covered by tests

Check warning on line 50 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L50

Added line #L50 was not covered by tests

Check warning on line 53 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L53

Added line #L53 was not covered by tests

Check warning on line 58 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 62 in document_page_portal/tests/test_document_controller.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_controller.py#L61-L62

Added lines #L61 - L62 were not covered by tests

Check warning on line 11 in document_page_portal/tests/test_document_page_portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_page_portal.py#L11

Added line #L11 was not covered by tests

Check warning on line 19 in document_page_portal/tests/test_document_page_portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_page_portal.py#L19

Added line #L19 was not covered by tests

Check warning on line 29 in document_page_portal/tests/test_document_page_portal.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

document_page_portal/tests/test_document_page_portal.py#L29

Added line #L29 was not covered by tests