<s> from __future__ import unicode_literals <EOL> import unittest <EOL> from frappe . utils . bot import BotReply <EOL> class TestBot ( unittest . TestCase ) : <EOL> def test_hello ( self ) : <EOL> reply = BotReply ( ) . get_reply ( '<STR_LIT:hello>' ) <EOL> self . assertEquals ( reply , '<STR_LIT>' ) <EOL> def test_open_notifications ( self ) : <EOL> reply = BotReply ( ) . get_reply ( '<STR_LIT>' ) <EOL> self . assertTrue ( '<STR_LIT>' in reply ) <EOL> def test_find ( self ) : <EOL> reply = BotReply ( ) . get_reply ( '<STR_LIT>' ) <EOL> self . assertTrue ( '<STR_LIT>' in reply ) <EOL> def test_not_found ( self ) : <EOL> reply = BotReply ( ) . get_reply ( '<STR_LIT>' ) <EOL> self . assertTrue ( '<STR_LIT>' in reply ) <EOL> def test_list ( self ) : <EOL> reply = BotReply ( ) . get_reply ( '<STR_LIT>' ) <EOL> self . assertTrue ( '<STR_LIT>' in reply ) <EOL> def test_how_many ( self ) : <EOL> reply = BotReply ( ) . get_reply ( '<STR_LIT>' ) <EOL> self . assertTrue ( int ( reply ) > <NUM_LIT:1> ) </s>
