Merge pull request #117 from pubs/bug/leadingspace
Fix bibtex testcase, closes #25.
This commit is contained in:
commit
cfb0042e37
4
.gitignore
vendored
4
.gitignore
vendored
@ -40,3 +40,7 @@ nosetests.xml
|
||||
.mr.developer.cfg
|
||||
.project
|
||||
.pydevproject
|
||||
|
||||
|
||||
# Tests
|
||||
.pytest_cache
|
||||
|
@ -1,4 +1,4 @@
|
||||
@article{ Space,
|
||||
@article{ LeadingSpace ,
|
||||
author = {Name, FirstName},
|
||||
title = {Title},
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# those are the additional packages required to run the tests
|
||||
six
|
||||
git+http://github.com/jmcgeheeiv/pyfakefs#egg=pyfakefs
|
||||
pyfakefs
|
||||
ddt
|
||||
|
@ -323,12 +323,11 @@ class TestAdd(URLContentTestCase):
|
||||
doc_dir = os.path.join(self.default_pubs_dir, 'doc')
|
||||
self.assertEqual(set(os.listdir(doc_dir)), {'Page99.pdf'})
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_leading_citekey_space(self):
|
||||
cmds = ['pubs init',
|
||||
'pubs add bibexamples/leadingspace.bib',
|
||||
'pubs rename LeadingSpace NoLeadingSpace',
|
||||
]
|
||||
]
|
||||
self.execute_cmds(cmds)
|
||||
|
||||
def test_add_no_citekey_fails(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user