Show More
@@ -11,6 +11,7 b'' | |||||
11 | #----------------------------------------------------------------------------- |
|
11 | #----------------------------------------------------------------------------- | |
12 |
|
12 | |||
13 | from ..citation import citation2latex |
|
13 | from ..citation import citation2latex | |
|
14 | from nose.tools import assert_equal | |||
14 |
|
15 | |||
15 | #----------------------------------------------------------------------------- |
|
16 | #----------------------------------------------------------------------------- | |
16 | # Tests |
|
17 | # Tests | |
@@ -51,8 +52,8 b' Lorem ipsum dolor sit amet, consectetur adipiscing elit' | |||||
51 | def test_citation2latex(): |
|
52 | def test_citation2latex(): | |
52 | """Are citations parsed properly?""" |
|
53 | """Are citations parsed properly?""" | |
53 | try: |
|
54 | try: | |
54 | import lxml |
|
55 | from lxml import html #analysis:ignore | |
55 | except ImportError: |
|
56 | except ImportError: | |
56 |
assert |
|
57 | assert_equal(test_md, citation2latex(test_md)) | |
57 | else: |
|
58 | else: | |
58 |
assert |
|
59 | assert_equal(test_md_parsed, citation2latex(test_md)) |
General Comments 0
You need to be logged in to leave comments.
Login now