Fix regression around low row limit for CSV exports (#5866)

* Fix regression around low row limit for CSV exports

* fix tests

* Still trying to fix tests
This commit is contained in:
Maxime Beauchemin
2018-09-19 13:30:25 -07:00
committed by GitHub
parent 549328f8f0
commit b9e3159f7c
5 changed files with 52 additions and 50 deletions

View File

@@ -172,7 +172,7 @@ class SupersetTestCase(unittest.TestCase):
perm.view_menu and table.perm in perm.view_menu.name):
security_manager.del_permission_role(public_role, perm)
def run_sql(self, sql, client_id, user_name=None, raise_on_error=False):
def run_sql(self, sql, client_id=None, user_name=None, raise_on_error=False):
if user_name:
self.logout()
self.login(username=(user_name if user_name else 'admin'))