Update tests and minor cleanup.

This commit is contained in:
cahrens
2014-03-12 15:25:27 -04:00
parent 3bb4be7d95
commit dd22bf49a3
5 changed files with 22 additions and 17 deletions

View File

@@ -195,6 +195,11 @@ def course_image_url(course):
class PublishState(object):
"""
The publish state for a given xblock-- either 'draft', 'private', or 'public'.
Currently in CMS, an xblock can only be in 'draft' or 'private' if it is at or below the Unit level.
"""
draft = 'draft'
private = 'private'
public = 'public'