Skip to content
Permalink
Browse files
publication_list: update tests to swap "abstract and details" and "fu…
…ll text".
  • Loading branch information
xuhdev committed Feb 28, 2017
1 parent b82f8e5 commit d356b862be0b029207dc06b4cc03e8b5ac05ac3e
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests_disabled/test_publication_list.py
@@ -31,10 +31,10 @@ def test_default(self):
expected = (
'<div class="publication-list">'
'<h3>2015</h3><ul>'
'<li class="publication".*>.*One article in 2015.*<a href="https://example.com/bibtex/a2015.bib">BibTeX</a>.*<a href="/pdf/a2015.pdf">full text</a>.*<a href="https://example.com/papers/a2015.html">abstract and details</a>.*</li>'
'<li class="publication".*>.*One conference in 2015.*<a href="https://example.com/bibtex/p2015.bib">BibTeX</a>.*<a href="https://example.com/papers/p2015.html">abstract and details</a>.*</li>'
'<li class="publication".*>.*One article in 2015.*<a href="https://example.com/papers/a2015.html">abstract and details</a>.*<a href="/pdf/a2015.pdf">full text</a>.*</li>'
'<li class="publication".*>.*One conference in 2015.*<a href="https://example.com/papers/p2015.html">abstract and details</a>.*</li>'
'</ul><h3>2010</h3><ul>'
'<li class="publication".*>.*One Book in 2010.*<a href="https://example.com/bibtex/b2010.bib">BibTeX</a>.*<a href="http://example.org/b2010.pdf">full text</a>.*<a href="https://example.com/papers/b2010.html">abstract and details</a>.*</li>'
'<li class="publication".*>.*One Book in 2010.*<a href="https://example.com/papers/b2010.html">abstract and details</a>.*<a href="http://example.org/b2010.pdf">full text</a>.*</li>'
'</ul></div>'
)
self.sample = '.. publication_list:: tests/data/publication_list/test.bib\n\t:highlight_author: Nikola Tesla'

0 comments on commit d356b86

Please sign in to comment.