chore(frontend): Spelling (#19676)

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2023-02-02 13:23:11 -05:00
committed by GitHub
parent ad1ffbd723
commit 78ede590ee
109 changed files with 201 additions and 202 deletions

View File

@@ -73,7 +73,7 @@ def _insert_annotation(
def create_annotation_layers():
"""
Creates ANNOTATION_LAYERS_COUNT-1 layers with no annotations
and a final one with ANNOTATION_COUNT childs
and a final one with ANNOTATION_COUNT children
:return:
"""
with app.app_context():

View File

@@ -417,7 +417,7 @@ class TestCore(SupersetTestCase):
@pytest.mark.usefixtures("load_energy_table_with_slice")
def test_slices_V2(self):
# Add explore-v2-beta role to admin user
# Test all slice urls as user with with explore-v2-beta role
# Test all slice urls as user with explore-v2-beta role
security_manager.add_role("explore-v2-beta")
security_manager.add_user(

View File

@@ -395,7 +395,7 @@ def test_get_time_grain_with_config():
app.config = config
def test_get_time_grain_with_unkown_values():
def test_get_time_grain_with_unknown_values():
"""Should concatenate from configs and then sort in the proper order
putting unknown patterns at the end"""
config = app.config.copy()

View File

@@ -76,7 +76,7 @@ def create_old_role(pvm_map: PvmMigrationMapType, external_pvms):
@pytest.mark.parametrize(
"descriptiom, new_pvms, pvm_map, external_pvms, deleted_views, deleted_permissions",
"description, new_pvms, pvm_map, external_pvms, deleted_views, deleted_permissions",
[
(
"Many to one readonly",
@@ -178,7 +178,7 @@ def create_old_role(pvm_map: PvmMigrationMapType, external_pvms):
(),
),
(
"Many to one with with old permission that gets deleted",
"Many to one with old permission that gets deleted",
{
"NewDummy": (
"can_read",
@@ -239,12 +239,12 @@ def create_old_role(pvm_map: PvmMigrationMapType, external_pvms):
],
)
def test_migrate_role(
descriptiom, new_pvms, pvm_map, external_pvms, deleted_views, deleted_permissions
description, new_pvms, pvm_map, external_pvms, deleted_views, deleted_permissions
):
"""
Permission migration: generic tests
"""
logger.info(descriptiom)
logger.info(description)
with create_old_role(pvm_map, external_pvms) as old_role:
role_name = old_role.name
session = db.session