Skip to content

Commit

Permalink
Format how black likes it.
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccacremona committed Jan 26, 2024
1 parent 07cfb27 commit 142164f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/main/test/test_drafts.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def test_merge_drafts(reset_sequences, full_casebook, assert_num_queries, legal_

@pytest.mark.django_db(transaction=True)
def test_duplicative_merge_prevented(full_casebook_with_draft):
""" Fetch two jobs at the same time in threads and make sure same job isn't returned to both. """
draft = full_casebook_with_draft.draft

def attempt_merge(i):
Expand All @@ -84,5 +83,6 @@ def attempt_merge(i):
results = e.map(attempt_merge, range(2))

first, second = list(results)
assert (first is True and "already being merged" in str(second)) or \
(second is True and "already being merged" in str(first))
assert (first is True and "already being merged" in str(second)) or (
second is True and "already being merged" in str(first)
)

0 comments on commit 142164f

Please sign in to comment.