Neels Hofmeyr | b3daaea | 2017-04-09 14:18:34 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
2 | |||||
3 | import _prep | ||||
4 | from osmo_gsm_tester import ofono_client | ||||
5 | |||||
6 | print(ofono_client.Sms()) | ||||
7 | print(ofono_client.Sms()) | ||||
8 | print(ofono_client.Sms()) | ||||
9 | sms = ofono_client.Sms('123', '456') | ||||
10 | print(str(sms)) | ||||
11 | |||||
12 | sms2 = ofono_client.Sms('123', '456') | ||||
13 | print(str(sms2)) | ||||
14 | assert sms != sms2 | ||||
15 | |||||
16 | sms2.msg = str(sms.msg) | ||||
17 | print(str(sms2)) | ||||
18 | assert sms == sms2 | ||||
19 | |||||
20 | # vim: expandtab tabstop=4 shiftwidth=4 |