'Verifies the item with given location has a published version and also a draft version (unpublished changes).'

def _verify_published_with_draft(self, location):

    self.assertTrue(self._is_location_published(location))
    self.assertTrue(modulestore().has_changes(modulestore().get_item(location)))
