#NEWLINE# def test_get_current_desktop_oncall_irc_nick( self ) : #NEWLINE# #INDENT# resp = self . client . get ( '/api/v2/oncall/sysadmin/irc_nick/' , follow = True ) #NEWLINE# self . assertEqual ( 200 , self . status_code ) #NEWLINE# obj = json . loads ( resp . content ) #NEWLINE# self . assertEqual ( obj [ 'user' ] , 'user2' )