##// END OF EJS Templates
inherit blogger
inherit blogger

File last commit:

r9627:036e7d24
r9632:53fe59b0
Show More
test_templates.py
18 lines | 400 B | text/x-python | PythonLexer
/ tests / test_templates.py
Matthias BUSSONNIER
basic test for converter template
r9586 import io
import nose.tools as nt
import os
from nose.tools import nottest
from converters.template import ConverterTemplate
def test_evens():
reflist = [
'tests/ipynbref/IntroNumPy.orig'
]
# null template should return empty
Matthias BUSSONNIER
fix soem figure extraction logic
r9627 C = ConverterTemplate()
Matthias BUSSONNIER
basic test for converter template
r9586 C.read('tests/ipynbref/IntroNumPy.orig.ipynb')
Matthias BUSSONNIER
should fix tests
r9606 result,_ = C.convert()
Matthias BUSSONNIER
basic test for converter template
r9586 nt.assert_equal(result,'')