Skip to content

Commit

Permalink
Fix silly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Azrenbeth authored and Azrenbeth committed Sep 16, 2021
1 parent 02cf85e commit 55ef37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def make_sydent(test_config={}):
test_config["db"].setdefault("db.file", ":memory:")

# Set a value for the signingkey if it hasn't been set by the test
if "db" not in test_config:
if "crypto" not in test_config:
test_config["crypto"] = {"ed25519.signingkey": DEFAULT_SIGNING_KEY}
elif "ed25519.signingkey" not in test_config["db"]:
elif "ed25519.signingkey" not in test_config["crypto"]:
test_config["crypto"] = {"ed25519.signingkey": DEFAULT_SIGNING_KEY}

reactor = ResolvingMemoryReactorClock()
Expand Down

0 comments on commit 55ef37a

Please sign in to comment.