mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Bump Dependencies (#2332)
* Bump dependencies * Closes #2300 * Closes #2331
This commit is contained in:
@@ -104,7 +104,7 @@ def test_sendmail_with_mailgun_from_config_file(fake_post_request):
|
||||
|
||||
args, kwargs = fake_post_request.call_args
|
||||
assert args[0] == "https://api.mailgun.net/v3/file.faked.com/messages"
|
||||
assert kwargs["auth"] == ("api", u"key-1234567890-file-config")
|
||||
assert kwargs["auth"] == ("api", "key-1234567890-file-config")
|
||||
assert kwargs["timeout"] == 1.0
|
||||
assert kwargs["data"] == {
|
||||
"to": ["user@user.com"],
|
||||
@@ -144,7 +144,7 @@ def test_sendmail_with_mailgun_from_db_config(fake_post_request):
|
||||
|
||||
args, kwargs = fake_post_request.call_args
|
||||
assert args[0] == "https://api.mailgun.net/v3/db.faked.com/messages"
|
||||
assert kwargs["auth"] == ("api", u"key-1234567890-db-config")
|
||||
assert kwargs["auth"] == ("api", "key-1234567890-db-config")
|
||||
assert kwargs["timeout"] == 1.0
|
||||
assert kwargs["data"] == {
|
||||
"to": ["user@user.com"],
|
||||
|
||||
Reference in New Issue
Block a user