cumulusci.tasks.tests package

Submodules

class cumulusci.tasks.tests.test_datadictionary.test_GenerateDataDictionary(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_init_options()[source]
test_init_options__defaults()[source]
test_init_schema()[source]
test_process_field_element__new()[source]
test_process_field_element__picklist_values()[source]
test_process_field_element__picklist_values_global_value_set()[source]
test_process_field_element__picklist_values_old_format()[source]
test_process_field_element__standard()[source]
test_process_field_element__updated()[source]
test_process_mdapi_release(fromstring)[source]
test_process_object_element()[source]
test_process_sfdx_release(fromstring)[source]
test_run_task(extract_github)[source]
test_set_version_with_props()[source]
test_version_from_tag_name()[source]
test_walk_releases__mdapi(extract_github)[source]
test_walk_releases__sfdx(extract_github)[source]
test_write_results()[source]
class cumulusci.tasks.tests.test_metaxml.TestUpdateApi(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task()[source]
class cumulusci.tasks.tests.test_metaxml.TestUpdateDependencies(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task()[source]
class cumulusci.tasks.tests.test_pushfails.TestPushFailureTask(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_run_task()[source]
test_run_task__no_results()[source]
cumulusci.tasks.tests.test_pushfails.error_record(gack=False, ErrorTitle='Unexpected Error')[source]

a record that looks like the object returned from the sobject api query we use

class cumulusci.tasks.tests.test_salesforce.TestSalesforceToolingTask(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_connected_app_client_name()[source]
test_default_client_name()[source]
test_get_tooling_object()[source]

Tests for the SFDX Command Wrapper

class cumulusci.tasks.tests.test_sfdx.TestSFDXBaseTask(methodName='runTest')[source]

Bases: cumulusci.core.tests.utils.MockLoggerMixin, unittest.case.TestCase

Tests for the Base Task type

setUp()[source]

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

test_base_task()[source]

The command is prefixed w/ sfdx

test_keychain_org_creds()[source]

Keychain org creds are passed by env var

test_scratch_org_username()[source]

Scratch Org credentials are passed by -u flag

class cumulusci.tasks.tests.test_sfdx.TestSFDXJsonTask(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_command()[source]
test_process_output()[source]
test_process_output__json_parse_error()[source]
class cumulusci.tasks.tests.test_util.TestUtilTasks(methodName='runTest')[source]

Bases: unittest.case.TestCase

run(result=None)[source]
setUp()[source]

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

test_CopyFile()[source]
test_Delete__glob()[source]
test_Delete__no_match()[source]
test_Delete__single_file()[source]
test_Delete__subdir()[source]
test_DownloadZip(download_extract_zip)[source]
test_FindReplace(find_replace)[source]
test_FindReplaceRegex(find_replace_regex)[source]
test_ListMetadataTypes()[source]
test_LogLine()[source]
test_PassOptionAsResult()[source]
test_PassOptionAsReturnValue()[source]
test_Sleep(time)[source]

Module contents