def test_empty_username_is_a_random_hash(self):
        un = autocreate_username('.+')  # this shouldn't happen but it could!
        assert len(un) and not un.startswith('.+'), 'Unexpected: %s' % un
dataset/ETHPy150Open mozilla/addons-server/src/olympia/users/tests/test_user_utils.py/TestAutoCreateUsername.test_empty_username_is_a_random_hash/original