mirror of
https://github.com/apache/superset.git
synced 2026-06-07 00:29:17 +00:00
chore(command): Organize Commands according to SIP-92 (#25850)
This commit is contained in:
@@ -45,7 +45,7 @@ def test_update_id_entry(
|
||||
admin: User,
|
||||
key_value_entry: KeyValueEntry,
|
||||
) -> None:
|
||||
from superset.key_value.commands.update import UpdateKeyValueCommand
|
||||
from superset.commands.key_value.update import UpdateKeyValueCommand
|
||||
from superset.key_value.models import KeyValueEntry
|
||||
|
||||
with override_user(admin):
|
||||
@@ -67,7 +67,7 @@ def test_update_uuid_entry(
|
||||
admin: User,
|
||||
key_value_entry: KeyValueEntry,
|
||||
) -> None:
|
||||
from superset.key_value.commands.update import UpdateKeyValueCommand
|
||||
from superset.commands.key_value.update import UpdateKeyValueCommand
|
||||
from superset.key_value.models import KeyValueEntry
|
||||
|
||||
with override_user(admin):
|
||||
@@ -85,7 +85,7 @@ def test_update_uuid_entry(
|
||||
|
||||
|
||||
def test_update_missing_entry(app_context: AppContext, admin: User) -> None:
|
||||
from superset.key_value.commands.update import UpdateKeyValueCommand
|
||||
from superset.commands.key_value.update import UpdateKeyValueCommand
|
||||
|
||||
with override_user(admin):
|
||||
key = UpdateKeyValueCommand(
|
||||
|
||||
Reference in New Issue
Block a user