def test_doc_lists(docs_descriptor): docstring = autogen.process_docstring(docs_descriptor['doc']) assert markdown(docstring) == markdown(docs_descriptor['result'])
def test_doc_multiple_sections_code(): """ Checks that we can have code blocks in multiple sections.""" generated = autogen.process_docstring(dummy_docstring) assert '# Theano-like behavior example' in generated assert 'def dot(x, y):' in generated
def test_doc_lists(docs_descriptor): docstring = autogen.process_docstring(docs_descriptor['doc']) assert markdown(docstring) == markdown(docs_descriptor['result'])
def test_doc_multiple_sections_code(): """ Checks that we can have code blocks in multiple sections.""" generated = autogen.process_docstring(dummy_docstring) assert '# Theano-like behavior example' in generated assert 'def dot(x, y):' in generated
def test_doc_lists(): docstring = autogen.process_docstring(test_doc1['doc']) assert markdown(docstring) == markdown(test_doc1['result'])
def test_doc_lists(): docstring = autogen.process_docstring(test_doc1['doc']) assert docstring == test_doc1['result']
def test_doc_lists(): docstring = autogen.process_docstring(test_doc1['doc']) assert docstring == test_doc1['result']
def test_doc_lists(): docstring = autogen.process_docstring(test_doc1["doc"]) assert markdown(docstring) == markdown(test_doc1["result"])
def test_doc_lists(): docstring = autogen.process_docstring(test_doc1['doc']) assert markdown(docstring) == markdown(test_doc1['result'])