From db7013afb7cf8e17827fea7a91fb1cdc53c52ac8 Mon Sep 17 00:00:00 2001 From: devketanpro Date: Wed, 27 Dec 2023 16:56:29 +0530 Subject: [PATCH] reformat code via black --- server/ntb/tests/publish/ntb_nitf_test.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/server/ntb/tests/publish/ntb_nitf_test.py b/server/ntb/tests/publish/ntb_nitf_test.py index 5e14ae7ad..dce016327 100644 --- a/server/ntb/tests/publish/ntb_nitf_test.py +++ b/server/ntb/tests/publish/ntb_nitf_test.py @@ -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": [ @@ -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"") - 4: doc.find(b"") + 15 + doc.find(b"") - 4 : doc.find(b"") + 15 ] expected = ( b"""\