mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-27 21:16:14 +02:00
fix some linting issues for failing PR (#1745)
This commit is contained in:
parent
959e18ad91
commit
4cb5d1e436
3 changed files with 3 additions and 3 deletions
|
@ -157,7 +157,7 @@ def config_var_on_disk(config_on_disk, journal_name, it_should, some_yaml):
|
|||
actual_slice = actual
|
||||
if type(actual) is dict:
|
||||
# `expected` objects formatted in yaml only compare one level deep
|
||||
actual_slice = {key: actual.get(key, None) for key in expected.keys()}
|
||||
actual_slice = {key: actual.get(key) for key in expected.keys()}
|
||||
|
||||
assert (expected == actual_slice) == it_should
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue