code: def test_build_and_push_container(env_manager):
      res = CliRunner().invoke(
          build_and_push_container,
          [
              "--no-push",
              "--mlflow-home",
              ".",
              "--env-manager",
              env_manager,
          ],
          catch_exceptions=False,
      )
      assert res.exit_code == 0
  
imports: import pytest
  from click.testing import CliRunner
  from mlflow.sagemaker.cli import build_and_push_container
label_desc: Use image node_id 1 for calling a global function with example usage: test_build_and_push_container(env_manager) without return types