Skip to content

Commit

Permalink
typo in ExtendedUSSDMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
smn committed Jan 20, 2014
1 parent f5bd9c2 commit 7b27c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion txssmi/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
PremiumBMoMessage = SSMIResponse.create('PREMIUM_BINARY_MO')
IMSILookupReply = SSMIResponse.create('IMSI_LOOKUP_REPLY')
USSDMessage = SSMIResponse.create('USSD_MESSAGE')
ExtendedUSSDMEssage = SSMIResponse.create('EXTENDED_USSD_MESSAGE')
ExtendedUSSDMessage = SSMIResponse.create('EXTENDED_USSD_MESSAGE')
ServerLogout = SSMIResponse.create('LOGOUT')
4 changes: 2 additions & 2 deletions txssmi/tests/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from txssmi.commands import (
Login, Ack, IMSILookupReply, Seq, MoMessage, DrMessage, FFMessage,
BMoMessage, PremiumMoMessage, PremiumBMoMessage, USSDMessage,
ExtendedUSSDMEssage, ServerLogout)
ExtendedUSSDMessage, ServerLogout)
from txssmi.protocol import SSMIProtocol
from txssmi.constants import (
CODING_8BIT, PROTOCOL_ENHANCED, USSD_INITIATE, USSD_NEW, DR_SUCCESS,
Expand Down Expand Up @@ -247,7 +247,7 @@ def test_extended_ussd_message(self):
calls = []
self.patch(self.protocol_class, 'handle_EXTENDED_USSD_MESSAGE',
calls.append)
cmd = ExtendedUSSDMEssage(msisdn='2700000000', type=USSD_NEW,
cmd = ExtendedUSSDMessage(msisdn='2700000000', type=USSD_NEW,
phase=USSD_PHASE_2, message='*100#',
genfields='655011234567890:1::')
yield self.send(cmd)
Expand Down

0 comments on commit 7b27c96

Please sign in to comment.