Browse Source

[FIX] flake8

pull/203/head
archetipo 9 years ago
parent
commit
ef99dd5826
  1. 10
      auto_backup/tests/test_auto_backup.py

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

Loading…
Cancel
Save