diff --git a/test/integration_test.py b/test/integration_test.py index c5d34dc942..61688d33d1 100644 --- a/test/integration_test.py +++ b/test/integration_test.py @@ -338,7 +338,8 @@ def _list_bundles(self, map(str, self.managed_access_sources_by_catalog[catalog]) ) index = first( - i for i, source in enumerate(sources) + i + for i, source in enumerate(sources) if source not in managed_access_sources ) sources[0], sources[index] = sources[index], sources[0]