def _generate_refs(self, count=10):
        random_word_count = int(math.sqrt(count)) + 1
        words = RandomWords().random_words(count=random_word_count)
        x_index = 0
        y_index = 0
        while count > 0:
            yield '%s.%s' % (words[x_index], words[y_index])
            if y_index < len(words) - 1:
                y_index += 1
            else:
                x_index += 1
                y_index = 0
            count -= 1
        return
dataset/ETHPy150Open StackStorm/st2/st2reactor/tests/unit/test_hash_partitioner.py/HashPartitionerTest._generate_refs/original