#NEWLINE# def testAuthGeneration( self ) : #NEWLINE# #INDENT# response = '[{"year": "2015", "institution": "UC Soumya", "url": "https://ok-server.appspot.com/#/course/5066549580791808", "display_name": "CS 61A", "term": "spring"}]' #NEWLINE# html = success_auth ( success_courses ( response , 'http://localhost:8080' ) ) #NEWLINE# self . assertNotEqual ( ( - 1 ) , html . find ( 'Ok!' ) ) #NEWLINE# self . assertNotEqual ( ( - 1 ) , html . find ( 'and are currently enrolled' ) ) #NEWLINE# self . assertNotEqual ( ( - 1 ) , html . find ( '1 course' ) )