Browse Source

Fix assertion.

--HG--
extra : amend_source : 6d240dcaf7
pull/81/head
Jairo Llopis 10 years ago
parent
commit
5aeeb80915
  1. 4
      cron_run_manually/tests/correct_uid.yml

4
cron_run_manually/tests/correct_uid.yml

@ -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"
Loading…
Cancel
Save