Source code for cfme.fixtures.randomness

# -*- coding: utf-8 -*-
import fauxfactory
import pytest


[docs]@pytest.fixture # IGNORE:E1101 def random_uuid_as_string(): """Creates a random uuid and returns is as a string""" return fauxfactory.gen_uuid()
[docs]@pytest.fixture def random_string(): """Generate a random string for use in tests""" return fauxfactory.gen_alphanumeric(8)