[PATCH seda] [test] Remove hard-coded eid from test data file

Sylvain Thenault sylvain.thenault at logilab.fr
Tue Mar 14 15:47:14 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1489502672 -3600
#      Tue Mar 14 15:44:32 2017 +0100
# Node ID b1ab49e7f058dd6c1ffc1602bd9a9d3a6f9866d8
# Parent  9e7a025cd0392c29fb939a0870350e11bbf82422
[test] Remove hard-coded eid from test data file

breaking test with a fresh database.

diff --git a/test/data/seda_02_export.rng b/test/data/seda_02_export.rng
--- a/test/data/seda_02_export.rng
+++ b/test/data/seda_02_export.rng
@@ -153,11 +153,11 @@
             <rng:attribute name="algorithme">
               <rng:value type="string">md5</rng:value>
             </rng:attribute>
             <rng:data type="string"/>
           </rng:element>
-          <rng:element name="UnitIdentifier" a:defaultValue="id6120">
+          <rng:element name="UnitIdentifier" a:defaultValue="id%(bdo-eid)s">
             <rng:data type="string"/>
           </rng:element>
         </rng:element>
       </rng:optional>
       <rng:oneOrMore>


More information about the saem-devel mailing list