Test Helper Factor Package¶
Subpackages¶
Submodules¶
Helpers¶
SEED Platform (TM), Copyright (c) Alliance for Sustainable Energy, LLC, and other contributors. See also https://github.com/seed-platform/seed/main/LICENSE.md
- 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()¶