code: def test_myst_notebook_is_trusted_941(
      tmp_path,
      myst="""---
  jupytext:
    formats: md:myst
    text_representation:
      extension: .md
      format_name: myst
      format_version: 0.13
      jupytext_version: 1.11.5
  kernelspec:
    display_name: itables
    language: python
    name: itables
  ---
  
  # Downsampling
  
  ```{code-cell} ipython3
  from itables import init_notebook_mode, show
  
  init_notebook_mode(all_interactive=True)
  ```
  """,
  ):
      cm = TextFileContentsManager()
      cm.root_dir = str(tmp_path)
  
      test_md = tmp_path / "test.md"
      test_md.write_text(myst)
  
      nb = cm.get("test.md")["content"]
  
      # All cells are trusted in this notebook
      assert cm.notary.check_cells(nb)
  
file_path: jupytext/tests/functional/others/test_trust_notebook.py
imports: import os
  import shutil
  import pytest
  from nbformat.v4.nbbase import new_code_cell, new_output
  from jupytext.compare import compare_notebooks
  from jupytext.contentsmanager import TextFileContentsManager
label_desc: Use image node_id 7 for calling a global function with example usage: test_myst_notebook_is_trusted_941(tmp_path, myst) without return types