Skip to content

Conversation

@wmaciejewskimer
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.44%. Comparing base (8d6ce0e) to head (cb7cf90).
Report is 6 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #193      +/-   ##
===========================================
+ Coverage    96.39%   96.44%   +0.05%     
===========================================
  Files           35       35              
  Lines          665      676      +11     
===========================================
+ Hits           641      652      +11     
  Misses          24       24              
Files Coverage Δ
trench/backends/application.py 100.00% <100.00%> (ø)
trench/backends/aws.py 86.36% <100.00%> (ø)
trench/backends/base.py 100.00% <100.00%> (ø)
trench/backends/basic_mail.py 100.00% <100.00%> (ø)
trench/backends/sms_api.py 95.23% <100.00%> (+0.23%) ⬆️
trench/backends/twilio.py 94.73% <100.00%> (+0.29%) ⬆️
trench/backends/yubikey.py 100.00% <100.00%> (ø)
trench/exceptions.py 100.00% <100.00%> (ø)
trench/views/base.py 92.56% <100.00%> (ø)

_SUCCESS_DETAILS = _("SMS message with MFA code has been sent.")

def dispatch_message(self) -> DispatchResponse:
def dispatch_message(self, url_name: Optional[str] = None) -> DispatchResponse:
Copy link

Choose a reason for hiding this comment

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

If we don't care about the args here maybe this would be better:

Suggested change
def dispatch_message(self, url_name: Optional[str] = None) -> DispatchResponse:
def dispatch_message(self, *args, **kwargs) -> DispatchResponse:

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.

3 participants