Message81385
On the principle, the test looks good.
If you want to avoid the 'if "%" in value' hack, you can use the
named-parameter form of string formatting:
>>> "localhost:%(port)s" % dict(port=8080)
'localhost:8080'
>>> "localhost" % dict(port=8080)
'localhost' |
|
Date |
User |
Action |
Args |
2009-02-08 15:59:01 | pitrou | set | recipients:
+ pitrou, jhylton, amaury.forgeotdarc, ajaksu2, craigh, dato, ResulCetin, trodgers |
2009-02-08 15:59:01 | pitrou | set | messageid: <1234108741.24.0.997585099817.issue4631@psf.upfronthosting.co.za> |
2009-02-08 15:58:59 | pitrou | link | issue4631 messages |
2009-02-08 15:58:59 | pitrou | create | |
|