Skip to content

Commit

Permalink
[CI] Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
egordm committed Oct 22, 2021
1 parent ff36f84 commit 78e9ae7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test/TestZoteroSync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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",]
)
)

Expand Down

0 comments on commit 78e9ae7

Please sign in to comment.