onadata.apps.logger.tests.management.commands package

Submodules

onadata.apps.logger.tests.management.commands.test_recover_deleted_attachments module

Module containing the tests for the recover_deleted_attachments management command

class onadata.apps.logger.tests.management.commands.test_recover_deleted_attachments.TestRecoverDeletedAttachments(methodName='runTest')

Bases: TestBase

TestRecoverDeletedAttachments Class

test_recovers_wrongly_deleted_attachments()

Test that the command recovers the correct attachment

onadata.apps.logger.tests.management.commands.test_remove_columns_from_briefcase_data module

Module containing the tests for the remove_columns_from_briefcase_data management command

class onadata.apps.logger.tests.management.commands.test_remove_columns_from_briefcase_data.TestRemoveColumnsFromBriefcaseDataCommand(methodName='runTest')

Bases: TestBase

test_removes_correct_columns()

Test that the command returns the XML without the specified columns

onadata.apps.logger.tests.management.commands.test_replace_form_id_root_node module

Module containing the tests for the replace_form_id_root_node management command

class onadata.apps.logger.tests.management.commands.test_replace_form_id_root_node.TestReplaceFormIDRootNodeCommand(methodName='runTest')

Bases: TestBase

TestReplaceFormIDRootNodeCommand Class

test_replaces_form_id_root_node()

Test that the command correctly replaces the form ID

Module contents