← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/launchpad:fix-flaky-test into launchpad:master

 

Jürgen Gmach has proposed merging ~jugmac00/launchpad:fix-flaky-test into launchpad:master.

Commit message:
Fix test for IRockRecipeBuildRequest.architectures

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/475141
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:fix-flaky-test into launchpad:master.
diff --git a/lib/lp/rocks/tests/test_rockrecipe.py b/lib/lp/rocks/tests/test_rockrecipe.py
index fcd1426..6fb1b7a 100644
--- a/lib/lp/rocks/tests/test_rockrecipe.py
+++ b/lib/lp/rocks/tests/test_rockrecipe.py
@@ -1932,11 +1932,8 @@ class TestRockRecipeWebservice(TestCaseWithFactory):
                     "builds_collection_link": Equals(
                         build_request_url + "/builds"
                     ),
-                    "architectures": Equals(
-                        [
-                            "amd640",
-                            "risc500",
-                        ]
+                    "architectures": MatchesSetwise(
+                        Equals("amd640"), Equals("risc500")
                     ),
                 }
             ),