#NEWLINE# @ responses . activate #NEWLINE# def test_messages( api_client , mock_messages ) : #NEWLINE# #INDENT# message = api_client . messages . first ( ) #NEWLINE# assert ( len ( message . labels ) == 1 ) #NEWLINE# assert ( message . labels [ 0 ] . display_name == 'Inbox' ) #NEWLINE# assert ( message . folder is None ) #NEWLINE# assert message . unread #NEWLINE# assert ( not message . starred )