code: def test_create_default(
      sync_db: "Session", cli_runner: "CliRunner", cli: "Typer"
  ):
      result = cli_runner.invoke(cli, "database users create_default")
  
      assert result.exit_code == 0
      assert result.output != ""
      assert sync_db.query(User).count() == 1
  
      default_user = (
          sync_db.query(User)
          .filter_by(username=DEFAULT_USERNAME)
          .first()
      )
      assert default_user
      assert default_user.role == UserRole.owner
      assert default_user.api_key == DEFAULT_API_KEY
      assert accounts.verify_password(
          DEFAULT_PASSWORD, default_user.password_hash
      )
      assert [ws.name for ws in default_user.workspaces] == [
          DEFAULT_USERNAME
      ]
  
file_path: argilla/tests/unit/server/cli/database/users/test_create_default.py
imports: from typing import TYPE_CHECKING
  from argilla.server.constants import DEFAULT_API_KEY, DEFAULT_PASSWORD, DEFAULT_USERNAME
  from argilla.server.contexts import accounts
  from argilla.server.models import User, UserRole
label_desc: Use image node_id 1 for calling a global function with example usage: test_create_default(sync_db, cli_runner, cli) without return types