Test Helper Factor Package

Subpackages

Submodules

Helpers

:copyright (c) 2014 - 2022, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Department of Energy) and contributors. All rights reserved. :author

class seed.test_helpers.factory.helpers.DjangoFunctionalFactory

Bases: object

classmethod invalid_test_cc_number()
classmethod rand_bool()
classmethod rand_city()
classmethod rand_city_suffix()
classmethod rand_currency(start=0, end=100)
classmethod rand_date(start_year=1900, end_year=2011)
classmethod rand_domain()
classmethod rand_email()
classmethod rand_float(start=0, end=100)
classmethod rand_int(start=0, end=100)
classmethod rand_name()
classmethod rand_phone()
classmethod rand_plant_name()
classmethod rand_str(length=None)
classmethod rand_street_address()
classmethod rand_street_suffix()
classmethod test_cc_number(valid=True)
classmethod valid_test_cc_number()