mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-10 17:32:13 -04:00
Fix for Missing call to superclass __init__ during object initialization
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
ac88561323
commit
9d6a64ec32
1 changed files with 3 additions and 0 deletions
|
|
@ -282,7 +282,10 @@ def test_repo_key_detect_does_not_raise_integrity_error(getpass, monkeypatch):
|
|||
class TestDeriveKey(BaseTestCase):
|
||||
# Create a simple KeyBase subclass with a non-empty crypt_key
|
||||
class CustomKey(KeyBase):
|
||||
TYPE = 0x42
|
||||
|
||||
def __init__(self, crypt_key, id_key):
|
||||
super().__init__(None)
|
||||
self.crypt_key = crypt_key
|
||||
self.id_key = id_key
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue