Fix assertion.

--HG--
extra : amend_source : 6d240dcaf7da6ecb618e6285c823fcc0387201d3
pull/81/head
Jairo Llopis 2014-09-19 12:15:59 +02:00
parent e7e0690fab
commit 5aeeb80915
1 changed files with 2 additions and 2 deletions

View File

@ -19,5 +19,5 @@
function: _current_uid
- I execute the cron job manually to check its running UID
- !assert {model: ir.cron, id: check_uid_job}: |
self.run_manually()[0] == self.user_id
- !python {model: ir.cron, id: check_uid_job}: |
assert self.run_manually()[0] == self.user_id.id, "Wrong UID in cron job"