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"])