Skip to content

Commit

Permalink
Move example/test_* to *_test as to not interfere with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Mar 8, 2022
1 parent 09455a4 commit 4634c9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/test_example.py → example/example_test.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import os, sys; sys.path.insert(0, os.path.realpath('..'))

from appyter.parse.nb import nb_from_ipynb_file
from appyter.parse.nb import nb_from_ipynb_io
from appyter.render.nbconstruct import render_nb_from_nbtemplate
from appyter.render.form import render_form_from_nbtemplate
from appyter.context import get_jinja2_env, get_env
from appyter.parse.nbtemplate import parse_fields_from_nbtemplate
from appyter.parse.nb import parse_markdown

nbtemplate = nb_from_ipynb_file('example.ipynb')
with open('example.ipynb', 'r') as fr:
nbtemplate = nb_from_ipynb_io(fr)

config = get_env(cwd=os.path.dirname(__file__), ipynb='example.ipynb')
env = get_jinja2_env(config=config)
Expand Down
File renamed without changes.

0 comments on commit 4634c9d

Please sign in to comment.