From 0bc0b13da0010b030036e89937c3823d5b624ea6 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 16 Oct 2018 12:53:35 -0700 Subject: [PATCH] Remove test class attrs examples_loaded and requires_examples --- tests/access_tests.py | 2 -- tests/base_tests.py | 2 -- tests/core_tests.py | 2 -- tests/dashboard_tests.py | 2 -- tests/datasource_tests.py | 2 -- tests/import_export_tests.py | 2 -- 6 files changed, 12 deletions(-) diff --git a/tests/access_tests.py b/tests/access_tests.py index 59eb0bba9b647..29c903d41a507 100644 --- a/tests/access_tests.py +++ b/tests/access_tests.py @@ -80,8 +80,6 @@ def create_access_request(session, ds_type, ds_name, role_name, user_name): class RequestAccessTests(SupersetTestCase): - requires_examples = False - @classmethod def setUpClass(cls): security_manager.add_role('override_me') diff --git a/tests/base_tests.py b/tests/base_tests.py index da28321a122fa..b9b4649a50dbe 100644 --- a/tests/base_tests.py +++ b/tests/base_tests.py @@ -16,8 +16,6 @@ class SupersetTestCase(unittest.TestCase): - requires_examples = False - examples_loaded = False def __init__(self, *args, **kwargs): super(SupersetTestCase, self).__init__(*args, **kwargs) diff --git a/tests/core_tests.py b/tests/core_tests.py index db1961d980baf..64a5e51e56c14 100644 --- a/tests/core_tests.py +++ b/tests/core_tests.py @@ -29,8 +29,6 @@ class CoreTests(SupersetTestCase): - requires_examples = True - def __init__(self, *args, **kwargs): super(CoreTests, self).__init__(*args, **kwargs) diff --git a/tests/dashboard_tests.py b/tests/dashboard_tests.py index 0bfbeaf18865a..915d451d70520 100644 --- a/tests/dashboard_tests.py +++ b/tests/dashboard_tests.py @@ -12,8 +12,6 @@ class DashboardTests(SupersetTestCase): - requires_examples = True - def __init__(self, *args, **kwargs): super(DashboardTests, self).__init__(*args, **kwargs) diff --git a/tests/datasource_tests.py b/tests/datasource_tests.py index b9f86934ba0ff..64c57b55f3cdd 100644 --- a/tests/datasource_tests.py +++ b/tests/datasource_tests.py @@ -7,8 +7,6 @@ class DatasourceTests(SupersetTestCase): - requires_examples = True - def __init__(self, *args, **kwargs): super(DatasourceTests, self).__init__(*args, **kwargs) diff --git a/tests/import_export_tests.py b/tests/import_export_tests.py index c3eabe816c396..fc26385341573 100644 --- a/tests/import_export_tests.py +++ b/tests/import_export_tests.py @@ -17,8 +17,6 @@ class ImportExportTests(SupersetTestCase): """Testing export import functionality for dashboards""" - requires_examples = True - @classmethod def delete_imports(cls): # Imported data clean up