[PATCH 2 of 3 saem] [test] Rename test which is about "agency", not "agent"

Sylvain Thenault sylvain.thenault at logilab.fr
Fri May 19 10:51:45 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1495115459 -7200
#      Thu May 18 15:50:59 2017 +0200
# Node ID b619a152b407fb8352f7748c53a74df134ff85e4
# Parent  1f47e9aee55b3efeac0ec3491e2ab412ca35b130
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r b619a152b407
[test] Rename test which is about "agency", not "agent"

diff --git a/test/test_seda.py b/test/test_seda.py
--- a/test/test_seda.py
+++ b/test/test_seda.py
@@ -75,11 +75,11 @@ class SEDAExportTC(CubicWebTC):
             cnx.commit()
             for xml in self.iter_seda_xsd(transfer):
                 self.assertIn('ArchivalProfile', xml)
                 self.assertIn(transfer.ark, xml)
 
-    def test_include_agent_ark(self):
+    def test_include_agency_ark(self):
         with self.admin_access.client_cnx() as cnx:
             record = testutils.authority_record(cnx, u'DGSI')
 
             transfer = testutils.seda_transfer(cnx)
             _, _, unit_alt_seq = testutils.create_archive_unit(transfer)


More information about the saem-devel mailing list