jdabtieu / CTFOJ

Lightweight CTF judge platform for capture-the-flag (CTF) clubs
GNU Affero General Public License v3.0
10 stars 5 forks source link

some more tests #190

Closed slightlyskepticalpotat closed 1 year ago

slightlyskepticalpotat commented 1 year ago

placeholder pr so codecov runs

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.64 :tada:

Comparison is base (0af3983) 89.25% compared to head (e5d3c64) 89.89%.

:exclamation: Current head e5d3c64 differs from pull request most recent head 7c4244e. Consider uploading reports for the commit 7c4244e to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #190 +/- ## ========================================== + Coverage 89.25% 89.89% +0.64% ========================================== Files 22 22 Lines 2075 2088 +13 ========================================== + Hits 1852 1877 +25 + Misses 223 211 -12 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `89.89% <100.00%> (+0.64%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu) | Coverage Δ | | |---|---|---| | [src/tests/test\_problems.py](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#diff-c3JjL3Rlc3RzL3Rlc3RfcHJvYmxlbXMucHk=) | `100.00% <ø> (ø)` | | | [src/tests/test\_2fa.py](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#diff-c3JjL3Rlc3RzL3Rlc3RfMmZhLnB5) | `100.00% <100.00%> (ø)` | | | [src/tests/test\_contest.py](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#diff-c3JjL3Rlc3RzL3Rlc3RfY29udGVzdC5weQ==) | `100.00% <100.00%> (ø)` | | | [src/tests/test\_emaintenance.py](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#diff-c3JjL3Rlc3RzL3Rlc3RfZW1haW50ZW5hbmNlLnB5) | `100.00% <100.00%> (ø)` | | | [src/tests/test\_pages.py](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#diff-c3JjL3Rlc3RzL3Rlc3RfcGFnZXMucHk=) | `100.00% <100.00%> (ø)` | | | [src/tests/test\_register.py](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#diff-c3JjL3Rlc3RzL3Rlc3RfcmVnaXN0ZXIucHk=) | `100.00% <100.00%> (ø)` | | | [src/application.py](https://codecov.io/gh/jdabtieu/CTFOJ/pull/190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu#diff-c3JjL2FwcGxpY2F0aW9uLnB5) | `84.45% <0.00%> (+1.01%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jonathan+Wu)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

slightlyskepticalpotat commented 1 year ago

closes https://github.com/jdabtieu/CTFOJ/issues/188 because upon further review, much of the current uncovered code is for behaviour that cannot be tested without much additional effort (e.g. captcha)