Skip to content

Commit

Permalink
Minor refactoring for set equality
Browse files Browse the repository at this point in the history
  • Loading branch information
algochoi committed Jul 13, 2022
1 parent 3a734fc commit 0a2b0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/steps/application_v2_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,11 +1198,11 @@ def check_all_boxes(context, box_names: str = None):
box_response = context.app_acl.application_boxes(
context.current_application_id
)
actual_box_names = set()
actual_box_names = []
for box in box_response["boxes"]:
box = box["name"]
decoded_box = base64.b64decode(box)
actual_box_names.add(decoded_box)
actual_box_names.append(decoded_box)

assert set(expected_box_names) == set(
actual_box_names
Expand Down

0 comments on commit 0a2b0d7

Please sign in to comment.