'Scenario: Given that an XBlock with a dynamic display name has been added to the course,
When I view the unit page and note the display name of the block,
Then I see the dynamically generated display name,
And when I then go to the container page for that same block,
Then I see the same generated display name.'

def test_display_name_default(self):

    unit = self.go_to_unit_page()
    test_block = unit.xblocks[1]
    title_on_unit_page = test_block.name
    container = test_block.go_to_container()
    self.assertEqual(container.name, title_on_unit_page)
