update test in test_usecases

This commit is contained in:
Fabien Benureau 2013-07-04 21:39:51 +01:00
parent e43fbe4744
commit ab52785667

View File

@ -372,3 +372,13 @@ class TestUsecase(unittest.TestCase):
with self.assertRaises(SystemExit):
cmds[-1] == 'papers open Page8'
_execute_cmds(cmds)
def test_update(self):
cmds = ['papers init',
'papers add -b data/pagerank.bib',
'papers update'
]
with self.assertRaises(SystemExit):
_execute_cmds(cmds)