diff options
-rw-r--r-- | yarns/900-implements.yarn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn index b27b830..c6be689 100644 --- a/yarns/900-implements.yarn +++ b/yarns/900-implements.yarn @@ -159,10 +159,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. http(vars, get, url + path, token=token) IMPLEMENTS THEN the list of builds is (.+) - expected = json.loads(get_next_match()) + expected = set(json.loads(get_next_match())) print('expected', expected) body = json.loads(vars['body']) print('body', body) - actual = [o['build_id'] for o in body['builds']] + actual = set(o['build_id'] for o in body['builds']) print('actual', actual) assertEqual(actual, expected) |