edx/edx-platform — pull request #5695 by stephensanchez (2014-10-22 22:43:56+00:00)
Title: enrollment tests and cleanup

Many, many, many tests. Pep8 cleanup, some additional validation. Includes separation of data.py from api.py, to allow testing the API independently of the data layer.

@wedaly @dianakhuang @rlucioni