# Let's read a notebook in the test folder# No longer works in nbdev2 as it "fixes" the files in test, even when recursive = false# name = 'nb_with_colab_link'# nb = json.loads(open(f'test/{name}.ipynb', 'r', encoding='utf-8').read())# fix_colab_links(nb, 'nb_with_colab_link')# assert _colab_link_name(nb) == name# assert nb['metadata']['colab']['name'] == name + '.ipynb'