tests/utils/helpers:
tests/utils/helpers:

Simplified and corrected a util function.


Former-commit-id: 4d65cff5a8e3eba84f852c6dd27047fa8f8c904c [formerly 6a141338a99a40a160f29cf37a047692e02d93ff]
Former-commit-id: efc1d449d472b8452c71bd4d97d511be27b24ea0
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine