Define common test helper function
This will allow to simplify tests in dvcs loader test repositories.
Related to T2481
Test Plan
tox
Migrated from D3431 (view on Phabricator)
Staging instance, all changes can be removed at any time
This will allow to simplify tests in dvcs loader test repositories.
Related to T2481
tox
Migrated from D3431 (view on Phabricator)