Browse Source

lint errors

pull/162/head
aheficent 7 years ago
committed by Darshan Patel
parent
commit
d5a9cd7be7
  1. 1
      bi_sql_editor/models/bi_sql_view.py
  2. 3
      bi_sql_editor/tests/test_bi_sql_view.py

1
bi_sql_editor/models/bi_sql_view.py

@ -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]

3
bi_sql_editor/tests/test_bi_sql_view.py

@ -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):

Loading…
Cancel
Save