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'})