summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/sms.py
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-05-31 20:38:56 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-05-31 20:39:42 +0200
commitb3b3104b6a8061085d1d396c4cef28e86a9c69a1 (patch)
treedc27dd59e41daf63e19abba27ea75b39862f4896 /src/osmo_gsm_tester/sms.py
parent996651a3a3e451d978a017f964bacccc0c19ed0f (diff)
fix: Sms.__eq__ bug due to typo
Add test of this to sms_test.py Change-Id: Ib0b420a81c1b211a9f03a2521d244b3a427d5e5b
Diffstat (limited to 'src/osmo_gsm_tester/sms.py')
-rw-r--r--src/osmo_gsm_tester/sms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/sms.py b/src/osmo_gsm_tester/sms.py
index 64eca5a..7fcb2d9 100644
--- a/src/osmo_gsm_tester/sms.py
+++ b/src/osmo_gsm_tester/sms.py
@@ -40,7 +40,7 @@ class Sms:
def __eq__(self, other):
if isinstance(other, Sms):
return self.msg == other.msg
- return inself.msg == other
+ return self.msg == other
def matches(self, msg):
return self.msg == msg