Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit 541c71b

Browse files
committed
test simplified
1 parent f1f2596 commit 541c71b

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

tests/unit/test_base.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,16 @@ def log_to_var(message):
2121
logger_.log = log_to_var
2222

2323
input_dict = {
24-
"foo": "bar",
25-
"baz": {
26-
"foo2": "bar2",
27-
'baz2': {
28-
"foo3": "bar3"
24+
"foo": {
25+
'bar': {
26+
"baz": "faz"
2927
}
3028
}
3129
}
3230
expected_string = """foo:
33-
bar
34-
baz:
35-
baz2:
36-
foo3:
37-
bar3
38-
foo2:
39-
bar2
31+
bar:
32+
baz:
33+
faz
4034
"""
4135

4236
command = CommandBase(logger_=logger_)

0 commit comments

Comments
 (0)