Skip to content

Commit

Permalink
boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-johnson committed Aug 12, 2020
1 parent 09b3832 commit 8f3f5f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/test_perforce.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_fixture(capsys, server):
}

# Check submitted changes
submitted_changes = [change for change in repo.perforce.run_changes('-s', 'submitted')]
submitted_changes = repo.perforce.run_changes('-s', 'submitted')
submitted_changeinfo = {change["change"]: repo.perforce.run_describe(change["change"])[0] for change in submitted_changes}
# Filter info to only contain relevant keys for submitted changes
submitted_changeinfo = {
Expand Down Expand Up @@ -147,7 +147,7 @@ def test_fixture(capsys, server):
}

# Check shelved changes
shelved_changes = [change for change in repo.perforce.run_changes('-s', 'pending')]
shelved_changes = repo.perforce.run_changes('-s', 'pending')
shelved_changeinfo = {change["change"]: repo.perforce.run_describe('-S', change["change"])[0] for change in shelved_changes}
# Filter info to only contain relevant keys for submitted changes
shelved_changeinfo = {
Expand All @@ -174,7 +174,7 @@ def test_fixture(capsys, server):
},
}

labels = [label for label in repo.perforce.run_labels()]
labels = repo.perforce.run_labels()
# Filter info to only contain relevant keys
labelinfo = {
label.get('label'): {key: label.get(key)
Expand Down

0 comments on commit 8f3f5f0

Please sign in to comment.