package/tests/test_utils: Remove code duplication
Those tests implementation are quite similar so let's put generic test code in a function and use some global variables.
Depends on !223 (closed)
Migrated from D6254 (view on Phabricator)
Staging instance, all changes can be removed at any time
Those tests implementation are quite similar so let's put generic test code in a function and use some global variables.
Depends on !223 (closed)
Migrated from D6254 (view on Phabricator)