Skip to content

Commit ee39cd4

Browse files
committed
linting
1 parent 68d85ea commit ee39cd4

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

aikido_zen/sources/xml_sources/lxml_test.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def set_context(body):
3838
"REMOTE_ADDR": "198.51.100.23",
3939
"HTTP_USER_AGENT": "Mozilla/5.0",
4040
},
41-
body=body, source="django"
41+
body=body,
42+
source="django",
4243
).set_as_current_context()
4344

4445

@@ -65,4 +66,9 @@ def test_parse_xml_with_set_context():
6566

6667
# Check that no xml attribute was set on body
6768
context = get_current_context()
68-
assert context.xml == {'attr': {'chill'}, 'smth': {'2'}, 'smthelse': {'2'}, 'test': {'test1'}}
69+
assert context.xml == {
70+
"attr": {"chill"},
71+
"smth": {"2"},
72+
"smthelse": {"2"},
73+
"test": {"test1"},
74+
}

aikido_zen/sources/xml_sources/xml_test.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def set_context(body):
4040
"REMOTE_ADDR": "198.51.100.23",
4141
"HTTP_USER_AGENT": "Mozilla/5.0",
4242
},
43-
body=body, source="django"
43+
body=body,
44+
source="django",
4445
).set_as_current_context()
4546

4647

@@ -67,4 +68,9 @@ def test_parse_xml_with_set_context():
6768

6869
# Check that no xml attribute was set on body
6970
context = get_current_context()
70-
assert context.xml == {'attr': {'chill'}, 'smth': {'2'}, 'smthelse': {'2'}, 'test': {'test1'}}
71+
assert context.xml == {
72+
"attr": {"chill"},
73+
"smth": {"2"},
74+
"smthelse": {"2"},
75+
"test": {"test1"},
76+
}

0 commit comments

Comments
 (0)