Skip to content

Commit

Permalink
Remove test class attrs examples_loaded and requires_examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 16, 2018
1 parent 17e1a62 commit 0bc0b13
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions tests/access_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 0 additions & 2 deletions tests/base_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions tests/core_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@

class CoreTests(SupersetTestCase):

requires_examples = True

def __init__(self, *args, **kwargs):
super(CoreTests, self).__init__(*args, **kwargs)

Expand Down
2 changes: 0 additions & 2 deletions tests/dashboard_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

class DashboardTests(SupersetTestCase):

requires_examples = True

def __init__(self, *args, **kwargs):
super(DashboardTests, self).__init__(*args, **kwargs)

Expand Down
2 changes: 0 additions & 2 deletions tests/datasource_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

class DatasourceTests(SupersetTestCase):

requires_examples = True

def __init__(self, *args, **kwargs):
super(DatasourceTests, self).__init__(*args, **kwargs)

Expand Down
2 changes: 0 additions & 2 deletions tests/import_export_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bc0b13

Please sign in to comment.