Message241169
| Author |
maciej.szulik |
| Recipients |
jesstess, maciej.szulik, pitrou, r.david.murray, zvyn |
| Date |
2015年04月15日.21:58:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1429135101.92.0.483634142051.issue22137@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Milan one more thing to change in your patch, in all your TCs you're modifying client state, I mean this part:
# lets cheat a bit here:
client.state = 'SELECTED'
It's OK to do that on the mocked server, but this is not acceptable doing on the tested library. It's better to call client.login() to change the state to 'AUTH' properly and only after that, call the actual method under test. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年04月15日 21:58:21 | maciej.szulik | set | recipients:
+ maciej.szulik, pitrou, r.david.murray, jesstess, zvyn |
| 2015年04月15日 21:58:21 | maciej.szulik | set | messageid: <1429135101.92.0.483634142051.issue22137@psf.upfronthosting.co.za> |
| 2015年04月15日 21:58:21 | maciej.szulik | link | issue22137 messages |
| 2015年04月15日 21:58:21 | maciej.szulik | create |
|