Created
February 20, 2014 05:57
-
-
Save jayd3e/9107778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from clusterapp.tests import TestCase | |
class TestQueue(TestCase): | |
def test_create_commit(self): | |
new_courses = { | |
'Intro to Physics': ['PHYS 101', 'PHYS 102', 'PHYS 103'], | |
'Intro to Computer Science': ['CS 3030', 'CS 3031'], | |
'Intro to Earth Science': ['ECE 100', 'CEE 100', 'DRE 100'], | |
'Elementary Psychology': ['PSY 101'], | |
'Independent Study': ['PHYS 200', 'CS 200', 'PSY 200', 'CEE 200', 'DRE 200'] | |
} | |
old_courses = { | |
'Intro to Physics': ['PHYS 101', 'PHYS 102', 'PHYS 103'], # unchanged | |
'Intro to Science Fiction': ['CS 3030', 'CS 3031'], # course rename, subsequently all sections are renamed | |
# 'Intro to Earth Science': ['ECE 100', 'CEE 100', 'DRE 100'], # course deleted | |
'Elementary Psychology': ['PSY 101', 'PSY 102'], # section add | |
'Independent Study': ['PHYS 200', 'CS 200', 'PSY 200', 'CEE 200'], # section removed | |
'Independent Study - Specific': ['DRE 200'] # course add | |
} | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment