From d51d7c94425facef9ca708dc25c6b8fa69faf292 Mon Sep 17 00:00:00 2001 From: Noa Aviel Dove Date: Mon, 22 May 2023 14:31:07 -0700 Subject: [PATCH] Fix: IT fails in anvilprod due to multiple values for is_supplementary (#5229) --- test/integration_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration_test.py b/test/integration_test.py index f6a53864eb..ff88d9109e 100644 --- a/test/integration_test.py +++ b/test/integration_test.py @@ -960,7 +960,7 @@ def _get_indexed_bundles(self, for file in hit['files']: is_supplementary = file['is_supplementary'] if isinstance(is_supplementary, list): - is_supplementary = one(is_supplementary) + is_supplementary = all(is_supplementary) if is_supplementary: bundle_fqid['entity_type'] = BundleEntityType.supplementary.value break