Closed mlec1 closed 1 year ago
Maybe a rebase will re-trigger tests? Could you try?
Merging #626 (8f2bdd7) into master (19e02f5) will decrease coverage by
0.09%
. Report is 1 commits behind head on master. The diff coverage is95.16%
.
@@ Coverage Diff @@
## master #626 +/- ##
==========================================
- Coverage 95.47% 95.38% -0.09%
==========================================
Files 75 75
Lines 3204 3252 +48
Branches 359 372 +13
==========================================
+ Hits 3059 3102 +43
- Misses 116 119 +3
- Partials 29 31 +2
Files Changed | Coverage Δ | |
---|---|---|
two_factor/forms.py | 98.94% <80.00%> (-1.06%) |
:arrow_down: |
two_factor/plugins/phonenumber/models.py | 92.85% <87.50%> (-7.15%) |
:arrow_down: |
tests/settings.py | 100.00% <100.00%> (ø) |
|
tests/test_views_login.py | 100.00% <100.00%> (ø) |
|
tests/test_views_phone.py | 100.00% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
I have done a rebase. Concerning the squash commits, I fucked up and push an additional one with all the commits squashed together. For me the easiest would be to enable squash commit for pull request https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests
Description
This pull requests implement the proper throttling for PhoneDevice as described in this issue. My MR is updating this MR and fixing the issues: it is passing all the tests.
Additionnaly, it is adding the proper error message instead of a general "Invalid token" as described in this issue
Motivation and Context
Refs:
How Has This Been Tested?
Ran
make test
andtox
. The test cases needs a new pip packagefreezegun
used to change the datetime of the tests at wish.Types of changes
Checklist: