

def test_default_table_names(self, _, __):
    self.assertEqual(FormExportInstanceDefaults.get_default_table_name(MAIN_TABLE), 'Forms')
    self.assertEqual(FormExportInstanceDefaults.get_default_table_name([PathNode(name='form'), PathNode(name='group1'), PathNode(name='awesome_repeat', is_repeat=True)]), 'Repeat: awesome_repeat')

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/export/tests/test_export_instance.py TestExportInstanceGeneration.test_default_table_names/original