コード例 #1
0
 def test_parse_engr_sciences_double(self):
     parsed = ap()(self.CS3210)
     self.assertSetEqual(set(parsed), set([u'Tech Elect CS, Engr, &Sciences',
                                           u'Computer Systems (CS)']))
コード例 #2
0
 def test_double_parsed(self):
     parsed = ap()(self.PSYC1101)
     self.assertSetEqual(set(parsed), set([u'Ethics Requirement', u'Social Science Requirement']))
コード例 #3
0
 def test_parse_engr_sciences(self):
     parsed = ap()(self.AE3120)
     self.assertSetEqual(set(parsed), set([u'Tech Elect CS, Engr, &Sciences']))
コード例 #4
0
 def test_basic_attribute_parsing(self):
     parsed = ap()(self.AS4221)
     self.assertSetEqual(set(parsed), set([u'Military Science Course']))