aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/sms_test.py
blob: ce81c3e49a1b48d7c2de3d01bf17e28fe6f024a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python3

import _prep
from osmo_gsm_tester import sms

print(sms.Sms())
print(sms.Sms())
print(sms.Sms())
msg = sms.Sms('123', '456')
print(str(msg))

msg2 = sms.Sms('123', '456')
print(str(msg2))
assert msg != msg2

msg2.msg = str(msg.msg)
print(str(msg2))
assert msg == msg2

# vim: expandtab tabstop=4 shiftwidth=4