mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX]lint errors
This commit is contained in:
committed by
Nicolas Mac Rouillon
parent
3c358e6df5
commit
34014b3fbd
@@ -569,4 +569,3 @@ class BiSQLView(models.Model):
|
||||
sql_view.view_name)
|
||||
self.env.cr.execute(req)
|
||||
sql_view.size = self.env.cr.fetchone()[0]
|
||||
|
||||
|
||||
@@ -55,7 +55,8 @@ class TestBiSqlViewEditor(TransactionCase):
|
||||
|
||||
def test_copy(self):
|
||||
copy_view = self.view.copy()
|
||||
self.assertEqual(copy_view.name, 'Partners View 2 (Copy)', 'Wrong name')
|
||||
self.assertEqual(
|
||||
copy_view.name, 'Partners View 2 (Copy)', 'Wrong name')
|
||||
|
||||
def test_security(self):
|
||||
with self.assertRaises(AccessError):
|
||||
|
||||
Reference in New Issue
Block a user