Skip to content

Commit

Permalink
reformat code via black
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Dec 27, 2023
1 parent 9984151 commit db7013a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions server/ntb/tests/publish/ntb_nitf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,15 +318,15 @@
"original_source": "1013",
},
{
'aliases': [],
'altids': {
'imatrics': '34017822-d341-3826-ab94-71d226d639c4',
"aliases": [],
"altids": {
"imatrics": "34017822-d341-3826-ab94-71d226d639c4",
},
'name': 'Genève',
'original_source': None,
'qcode': '34017822-d341-3826-ab94-71d226d639c4',
'scheme': 'place_custom',
'source': 'imatrics',
"name": "Genève",
"original_source": None,
"qcode": "34017822-d341-3826-ab94-71d226d639c4",
"scheme": "place_custom",
"source": "imatrics",
},
],
"object": [
Expand Down Expand Up @@ -707,7 +707,7 @@ def test_pretty_formatting(self):
formatter_output = self.formatter.format(article, {"name": "Test NTBNITF"})
doc = formatter_output[0]["encoded_item"]
body_content = doc[
doc.find(b"<body.content>") - 4: doc.find(b"</body.content>") + 15
doc.find(b"<body.content>") - 4 : doc.find(b"</body.content>") + 15
]
expected = (
b"""\
Expand Down

0 comments on commit db7013a

Please sign in to comment.