cumulusci.tasks.salesforce.tests package

Submodules

class cumulusci.tasks.salesforce.tests.test_CreatePackage.TestCreatePackage(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_package_zip(CreatePackageZipBuilder)[source]
class cumulusci.tasks.salesforce.tests.test_Deploy.TestDeploy(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_api()[source]
test_get_api__additional_options()[source]
test_get_api__managed()[source]
test_get_api__skip_clean_meta_xml()[source]
test_get_api__static_resources()[source]
test_get_files_to_package()[source]
test_get_package_zip()[source]
test_include_directory()[source]
test_include_file()[source]
test_init_options()[source]
class cumulusci.tasks.salesforce.tests.test_DeployBundles.TestDeployBundles(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_freeze()[source]
test_freeze__bad_path()[source]
test_run_task()[source]
test_run_task__path_not_found()[source]
class cumulusci.tasks.salesforce.tests.test_EnsureRecordTypes.TestEnsureRecordTypes(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_executes_deployment()[source]
test_generates_record_type_and_business_process()[source]
test_generates_record_type_and_business_process__case()[source]
test_generates_record_type_only()[source]
test_infers_correct_business_process()[source]
test_init_options()[source]
test_no_action_if_existing_record_types()[source]
test_no_business_process_where_unneeded()[source]
test_no_deployment_if_unneeded()[source]
class cumulusci.tasks.salesforce.tests.test_InstallPackageVersion.TestInstallPackageVersion(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task__options()[source]
test_run_task_with_retry()[source]
class cumulusci.tasks.salesforce.tests.test_RetrievePackaged.TestRetrievePackaged(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task()[source]
class cumulusci.tasks.salesforce.tests.test_RetrieveUnpackaged.TestRetrieveUnpackaged(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_api()[source]
class cumulusci.tasks.salesforce.tests.test_SOQLQuery.TestSOQLQuery(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task()[source]
class cumulusci.tasks.salesforce.tests.test_UninstallLocal.TestUninstallLocal(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_destructive_changes(PackageXmlGenerator)[source]
class cumulusci.tasks.salesforce.tests.test_UninstallLocalBundles.TestUninstallLocalBundles(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task()[source]
class cumulusci.tasks.salesforce.tests.test_UninstallLocalNamespacedBundles.TestUninstallLocalNamespacedBundles(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_destructive_changes(PackageXmlGenerator)[source]
class cumulusci.tasks.salesforce.tests.test_UninstallPackage.TestUninstallPackage(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_destructive_changes(UninstallPackageZipBuilder)[source]
class cumulusci.tasks.salesforce.tests.test_UninstallPackaged.TestUninstallPackaged(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_destructive_changes(ApiRetrievePackaged)[source]
class cumulusci.tasks.salesforce.tests.test_UninstallPackagedIncremental.TestUninstallPackagedIncremental(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_destructive_changes()[source]
class cumulusci.tasks.salesforce.tests.test_UpdateDependencies.TestUpdateDependencies(methodName='runTest')[source]

Bases: unittest.case.TestCase

maxDiff = None
test_flatten()[source]
test_freeze()[source]
test_run_task(ApiRetrieveInstalledPackages)[source]
test_run_task__metadata_bundle()[source]
test_run_task__no_dependencies()[source]
test_run_task_downgrade_allowed(ApiRetrieveInstalledPackages)[source]
test_run_task_downgrade_disallowed(ApiRetrieveInstalledPackages)[source]
test_run_task_downgrade_unneeded(ApiRetrieveInstalledPackages)[source]
test_update_dependency_latest_option_err()[source]
class cumulusci.tasks.salesforce.tests.test_base_tasks.TestBaseRetrieveMetadata(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_process_namespace()[source]
class cumulusci.tasks.salesforce.tests.test_base_tasks.TestBaseSalesforceApiTask(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_sf_instance()[source]
class cumulusci.tasks.salesforce.tests.test_base_tasks.TestBaseSalesforceMetadataApiTask(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task()[source]
class cumulusci.tasks.salesforce.tests.test_base_tasks.TestBaseSalesforceTask(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_run_task()[source]
test_update_credentials()[source]
class cumulusci.tasks.salesforce.tests.test_base_tasks.TestBaseUninstallMetadata(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_api()[source]
test_get_api_no_changes()[source]
class cumulusci.tasks.salesforce.tests.test_custom_settings.TestLoadCustomSettings(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_init_options__exception(isfile)[source]
test_load_settings_bad_yaml(isfile)[source]
test_load_settings_hierarchy_no_location(isfile)[source]
test_load_settings_hierarchy_org(isfile)[source]
test_load_settings_hierarchy_setting_profile(isfile)[source]
test_load_settings_hierarchy_setting_profile__error(isfile)[source]
test_load_settings_hierarchy_setting_user(isfile)[source]
test_load_settings_hierarchy_setting_user_email(isfile)[source]
test_load_settings_hierarchy_update(isfile)[source]
test_load_settings_list_setting(isfile)[source]
test_run_task(sf, isfile)[source]
class cumulusci.tasks.salesforce.tests.test_org_settings.TestDeployOrgSettings[source]

Bases: object

test_run_task()[source]
test_run_task__no_settings()[source]
cumulusci.tasks.salesforce.tests.test_org_settings.readtext(zf, name)[source]
class cumulusci.tasks.salesforce.tests.test_sourcetracking.TestListChanges(methodName='runTest')[source]

Bases: unittest.case.TestCase

List the changes from a scratch org

test_filter_changes__include()[source]
test_filter_changes__null_revnum()[source]
test_load_maxrevision()[source]
test_run_task()[source]
test_run_task__no_changes()[source]
test_run_task__snapshot()[source]
class cumulusci.tasks.salesforce.tests.test_sourcetracking.TestRetrieveChanges(methodName='runTest')[source]

Bases: unittest.case.TestCase

Retrieve changed components from a scratch org

test_init_options__sfdx_format(sfdx)[source]
test_run_task(sfdx)[source]
test_run_task__no_changes(sfdx)[source]
class cumulusci.tasks.salesforce.tests.test_sourcetracking.TestSnapshotChanges(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_freeze()[source]
test_run_task()[source]
test_run_task__null_revnum()[source]
cumulusci.tasks.salesforce.tests.util.create_task(task_class, options=None, project_config=None, org_config=None)[source]

Module contents