From 78e9ae7b2e06056de2ea37aa73ef42211fbebcdf Mon Sep 17 00:00:00 2001 From: Egor Dmitriev Date: Fri, 22 Oct 2021 22:03:53 +0200 Subject: [PATCH] [CI] Code style fixes --- test/TestZoteroSync.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/test/TestZoteroSync.py b/test/TestZoteroSync.py index 604c2f2..f620482 100644 --- a/test/TestZoteroSync.py +++ b/test/TestZoteroSync.py @@ -41,9 +41,7 @@ def setupTemplate(self): ) self.assertEqual(code, 0) - self.template = re.search( - r"Created page \((.*)\)", output - ).group(1) + self.template = re.search(r"Created page \((.*)\)", output).group(1) def test_sync_refs(self): self.setupTemplate() @@ -63,13 +61,7 @@ def test_sync_refs_with_collections(self): code, output = capture_cmd( lambda: cli( - [ - "sync", - "zotero", - "refs", - parse_uuid_or_url(self.template), - "--force", - ] + ["sync", "zotero", "refs", parse_uuid_or_url(self.template), "--force",] ) )