+
Skip to content

Move enabling challenge server to settings #269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 16, 2022
Merged

Conversation

thebeanogamer
Copy link
Member

Resolves #267

This is a little messy as it needs to handle old environments where we
didn't require explicitly setting this.

It also has the worst test I've written in a while, but this should
bring coverage up a bit.

Resolves #267

This is a little messy as it needs to handle old environments where we
didn't require explicitly setting this.

It also has the worst test I've written in a while, but this should
bring coverage up a bit.
@codecov
Copy link

codecov bot commented Apr 3, 2022

Codecov Report

Merging #269 (3015e67) into master (b11a1ba) will increase coverage by 0.19%.
The diff coverage is 91.17%.

@@            Coverage Diff             @@
##           master     #269      +/-   ##
==========================================
+ Coverage   96.66%   96.86%   +0.19%     
==========================================
  Files         108      109       +1     
  Lines        5044     5071      +27     
  Branches      274      274              
==========================================
+ Hits         4876     4912      +36     
+ Misses        137      128       -9     
  Partials       31       31              
Impacted Files Coverage Δ
src/backend/settings/__init__.py 90.62% <33.33%> (-3.23%) ⬇️
src/andromeda/views.py 76.19% <66.66%> (+9.52%) ⬆️
src/andromeda/tests.py 100.00% <100.00%> (ø)
src/andromeda/client.py 48.48% <0.00%> (+6.06%) ⬆️
src/backend/exception_handler.py 89.18% <0.00%> (+8.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b11a1ba...3015e67. Read the comment docs.

@thebeanogamer
Copy link
Member Author

This appears to be a CodeCov issue. It's flagging the fact that settings.ANDROMEDA_TIMEOUT isn't used in tests when it is, just defined in the context manager. I think this is fine to merge despite codecov/patch.

Copy link
Member

@jerbob jerbob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just had a cursory look on mobile and LGTM. If it's not merged by the time I'm at a PC I'll give it a closer look.

@thebeanogamer thebeanogamer requested a review from 0xAda April 8, 2022 09:20
@0xAda 0xAda closed this Apr 8, 2022
@thebeanogamer thebeanogamer reopened this Apr 8, 2022
@0xAda 0xAda merged commit 3c40df2 into master Apr 16, 2022
@0xAda 0xAda deleted the feature/disablechallenges branch April 16, 2022 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move Challenge Server Enabled to Settings
3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载