<s> from custom . ewsghana . handlers import INVALID_MESSAGE , NO_SUPPLY_POINT_MESSAGE <EOL> from custom . ewsghana . tests . handlers . utils import EWSScriptTest <EOL> class TestDefault ( EWSScriptTest ) : <EOL> def test_default ( self ) : <EOL> a = """<STR_LIT>""" <EOL> self . run_script ( a ) <EOL> def test_default_when_invalid_message_is_sent ( self ) : <EOL> a = """<STR_LIT>""" . format ( unicode ( INVALID_MESSAGE ) ) <EOL> self . run_script ( a ) <EOL> def test_default_when_user_has_no_location_association ( self ) : <EOL> a = """<STR_LIT>""" . format ( unicode ( NO_SUPPLY_POINT_MESSAGE ) ) <EOL> self . run_script ( a ) </s>
