diff options
Diffstat (limited to 'odoo/tests/common.py')
| -rw-r--r-- | odoo/tests/common.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/odoo/tests/common.py b/odoo/tests/common.py index fc23ea71e64..33c8f0ed695 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -627,11 +627,7 @@ class ChromeBrowser(): self.screenshots_dir = os.path.join(otc['screenshots'], get_db_name(), 'screenshots') self.screencasts_dir = None if otc['screencasts']: - if otc['screencasts'] in ('1', 'true', 't'): - self.screencasts_dir = os.path.join(otc['screenshots'], get_db_name(), 'screencasts') - else: - self.screencasts_dir =os.path.join(otc['screencasts'], get_db_name(), 'screencasts') - + self.screencasts_dir = os.path.join(otc['screencasts'], get_db_name(), 'screencasts') self.screencast_frames = [] os.makedirs(self.screenshots_dir, exist_ok=True) |
