[PATCH eac] Revove old comment on the isni views test

Guillaume Vandevelde guillaume.vandevelde at logilab.fr
Thu Sep 5 12:21:57 CEST 2019


# HG changeset patch
# User Guillaume Vandevelde <gvandevelde at logilab.fr>
# Date 1567678869 -7200
#      Thu Sep 05 12:21:09 2019 +0200
# Node ID cf60439f131fa2acb8bd60c16456d097c2e69f86
# Parent  93ba35be9b11802902401fcd6793a2a4db5332ba
# Available At http://hg.logilab.org/review/cubes/eac
#              hg pull http://hg.logilab.org/review/cubes/eac -r cf60439f131f
Revove old comment on the isni views test

The isni identifies only the entity described by the EAC-CPF document,
but different productors can describe the same entity so we can find
different EAC-CPF document with the same isni identifier.

In facts this can even append in the documents of a unique productor.

diff -r 93ba35be9b11 -r cf60439f131f test/test_views.py
--- a/test/test_views.py	Thu Sep 05 11:18:02 2019 +0200
+++ b/test/test_views.py	Thu Sep 05 12:21:09 2019 +0200
@@ -59,7 +59,6 @@
             # now actually test the import
             html = req.view(regid)
             self.assertNotIn('EAC import failed', html)
-            # Still only one AuthorityRecord.
             rset = req.find('AuthorityRecord')
             self.assertEqual(len(rset), 2)
 



More information about the saem-devel mailing list