From 312f413f7500a5abeff7c99b37235255ba618e31 Mon Sep 17 00:00:00 2001 From: archetipo Date: Tue, 21 Jul 2015 18:32:20 +0200 Subject: [PATCH] flake8 --- auto_backup/tests/test_auto_backup.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/auto_backup/tests/test_auto_backup.py b/auto_backup/tests/test_auto_backup.py index 8e61f6f0e..4f7e08c8c 100644 --- a/auto_backup/tests/test_auto_backup.py +++ b/auto_backup/tests/test_auto_backup.py @@ -19,13 +19,10 @@ # ############################################################################## -import base64 + from openerp.tests import common -from openerp.exceptions import except_orm, Warning -from openerp.modules.module import get_module_resource -import os -import time -from datetime import datetime, date, timedelta +from openerp.exceptions import except_orm + class TestsAutoBackup(common.TransactionCase): @@ -34,7 +31,6 @@ class TestsAutoBackup(common.TransactionCase): self.abk_model = self.env["db.backup"] self.cron_model = self.env["ir.cron"] - def test_0(self): with self.assertRaises(except_orm): self.abk_model.create({'name': 'abcd'})