diff options
author | Alejandro Gallo <aamsgallo@gmail.com> | 2018-03-17 17:05:32 +0100 |
---|---|---|
committer | Alejandro Gallo <aamsgallo@gmail.com> | 2018-03-17 17:05:32 +0100 |
commit | 9c6c9b4a83502d751eec4ef3b4c2ecef6745679e (patch) | |
tree | a51f3a75c4250b2a9184aaedfd002238def5e812 | |
parent | 7083af2500ba6823421fe8f5255a4d79f28934d5 (diff) |
Update test_update
-rw-r--r-- | papis/tests/test_update.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/papis/tests/test_update.py b/papis/tests/test_update.py index 0cb53c89..cc297c36 100644 --- a/papis/tests/test_update.py +++ b/papis/tests/test_update.py @@ -55,5 +55,5 @@ class Test(unittest.TestCase): docs = self.get_docs() run(docs[0], force=True, from_bibtex=bibfile) docs = db.query_dict(dict(title='elektrodynamik')) - self.assertTrue(len(docs) > 0) - self.assertTrue(docs[0]["volume"] == "322") + self.assertEqual(len(docs), 1) + self.assertEqual(docs[0]["volume"], "322") |