'Test that custom discussion_id values are exported'

@ddt.data('jediwannabe', 'iddqd', 'itisagooddaytodie')
def test_export_custom_discussion_id(self, discussion_id):

    target_node = etree.Element('dummy')
    block = DiscussionXBlock(self.runtime_mock, scope_ids=self.keys, field_data=DictFieldData({}))
    block.discussion_id = discussion_id
    self.assertEqual(block.discussion_id, discussion_id)
    block.add_xml_to_node(target_node)
    self.assertEqual(target_node.tag, 'discussion')
    self.assertTrue(target_node.attrib['discussion_id'], discussion_id)
