'Tests that running the command without a \'--commit\' argument
results in no orphans being deleted'

@ddt.data(ModuleStoreEnum.Type.split, ModuleStoreEnum.Type.mongo)
def test_delete_orphans_no_commit(self, default_store):

    course = self.create_course_with_orphans(default_store)
    call_command('delete_orphans', unicode(course.id))
    self.assertTrue(self.store.has_item(course.id.make_usage_key('html', 'multi_parent_html')))
    self.assertTrue(self.store.has_item(course.id.make_usage_key('vertical', 'OrphanVert')))
    self.assertTrue(self.store.has_item(course.id.make_usage_key('chapter', 'OrphanChapter')))
    self.assertTrue(self.store.has_item(course.id.make_usage_key('html', 'OrphanHtml')))
