Skip to content

Fix/unset env sc test caseinherited tests

Pelayo García requested to merge fix/unset-env-sc-test-caseinherited-tests into master

CHANGELOG: (we don't need to put it, though)

### Changed
- [#367](https://gitlab.com/coopdevs/odoo-somconnexio/-/merge_requests/367) Remove context modification to not enqueue jobs in wizard tests, since this is already defined in the `SCTestCase` class from which they inherit. 

Remove context definition in wizard tests

This context is already defined in the SCTestCase class, from which these tests inherit, so we can avoid code repetition.

self.env = self.env(context=dict(
  self.env.context,
  test_queue_job_no_delay=True,  # no jobs thanks
))
Edited by Pelayo García

Merge request reports