tests: Fix content generation for a unique content id generation
Content ids must be unique
Related swh/meta$332
Test Plan
tox
Migrated from D657 (view on Phabricator)
Staging instance, all changes can be removed at any time
Content ids must be unique
Related swh/meta$332
tox
Migrated from D657 (view on Phabricator)