From fde91c1000cef31c7256972718f6ec86d7178c7d 2013-08-01 19:29:49 From: Jonathan Frederic Date: 2013-08-01 19:29:49 Subject: [PATCH] Removed large tests --- diff --git a/IPython/nbconvert/filters/tests/test_markdown.py b/IPython/nbconvert/filters/tests/test_markdown.py index 59aed89..bcdca23 100644 --- a/IPython/nbconvert/filters/tests/test_markdown.py +++ b/IPython/nbconvert/filters/tests/test_markdown.py @@ -40,41 +40,7 @@ class TestMarkdown(TestsBase): '#test', '##test', 'test\n----', - 'test [link](https://google.com/)', - """ -List ----- -- Test -- Test - 1. Test - 2. Test - - Test - - Test - 2. Test - """, - "test\ntest", - "test\n test", - "test\n\n---\n\ntest", - "test\n\n***\n\ntest", - """ -#Code - -Below - - def hello_world(self): - print('hello_world') - - """, - """ -Quote ------ - -Mike said - -> You are so cool! -> I wish I could do that. - """, - "inline `quote`"] + 'test [link](https://google.com/)'] @onlyif_cmds_exist('pandoc') @@ -93,70 +59,7 @@ Mike said r'\section{test}', r'\subsection{test}', r'\subsection{test}', - r'test \href{https://google.com/}{link}', - r""" -\subsection{List} - -\begin{itemize} -\item - Test -\item - Test - - \begin{enumerate}[1.] - \item - Test - \item - Test - - \begin{itemize} - \item - Test - \item - Test - \end{itemize} - \item - Test - \end{enumerate} -\end{itemize} - """, - 'test test', - 'test test', - r""" - test - - \begin{center}\rule{3in}{0.4pt}\end{center} - - test - """, - r""" - test - - \begin{center}\rule{3in}{0.4pt}\end{center} - - test - """, - r""" -\section{Code} - -Below - -\begin{verbatim} -def hello_world(self): - print('hello_world') -\end{verbatim} - - """, - r""" -\subsection{Quote} - -Mike said - -\begin{quote} -You are so cool! I wish I could do that. -\end{quote} - """, - r'inline \texttt{quote}'] + r'test \href{https://google.com/}{link}'] for index, test in enumerate(self.tests): yield self._try_markdown2latex, test, results[index] @@ -181,52 +84,7 @@ You are so cool! I wish I could do that. '

test

', '

test

', '

test

', - '

test link

', - """ -

List

- - - """, - '

test test

', - '

test test

', - """ -

test

-
-

test

- """, - """ -

test

-
-

test

- """, - """ -

Code

-

Below

-
def hello_world(self):
-    print('hello_world')
- - """, - """ -

Quote

-

Mike said

-
-

You are so cool! I wish I could do that.

-
- - """, - '

inline quote

'] + '

test link

'] for index, test in enumerate(self.tests): yield self._try_markdown2html, test, results[index] @@ -251,62 +109,7 @@ You are so cool! I wish I could do that. 'test\n====', 'test\n----', 'test\n----', - 'test `link `_', - """ -List ----- - -- Test -- Test - - 1. Test - 2. Test - - - Test - - Test - - 3. Test - - """, - 'test test', - 'test test', - """ -test - --------------- - -test - """, - """ -test - --------------- - -test - - """, - """ -Code -==== - -Below - -:: - - def hello_world(self): - print('hello_world') - - """, - """ -Quote ------ - -Mike said - - You are so cool! I wish I could do that. - - """, - 'inline ``quote``'] + 'test `link `_'] for index, test in enumerate(self.tests): yield self._try_markdown2rst, test, results[index]