mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-30 21:33:00 +02:00
Flake fixes (#966).
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import borgmatic.hooks.dispatch
|
||||
|
||||
|
||||
UNSPECIFIED = object()
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ def test_resolve_credentials_passes_through_string_without_credential_tag():
|
||||
def test_resolve_credentials_passes_through_none():
|
||||
flexmock(module.borgmatic.hooks.dispatch).should_receive('call_hook').never()
|
||||
|
||||
assert module.resolve_credentials(config=flexmock(), item=None) == None
|
||||
assert module.resolve_credentials(config=flexmock(), item=None) is None
|
||||
|
||||
|
||||
def test_resolve_credentials_with_invalid_credential_tag_raises():
|
||||
|
||||
Reference in New Issue
Block a user