Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
Fixed tests
  • Loading branch information
egarciadiaz committed Jun 8, 2020
1 parent ef55c6a commit 55a36a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/data/p002_reject.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<MensajeRechazo xmlns="http://localhost/elegibilidad">
<MensajeRechazoP0 xmlns="http://localhost/elegibilidad">
<Cabecera>
<CodigoREEEmpresaEmisora>1234</CodigoREEEmpresaEmisora>
<CodigoREEEmpresaDestino>4321</CodigoREEEmpresaDestino>
Expand All @@ -18,4 +18,4 @@
<Comentarios>No existe Punto de Suministro asociado al CUPS</Comentarios>
</Rechazo>
</RechazosPeticion>
</MensajeRechazo>
</MensajeRechazoP0>
8 changes: 4 additions & 4 deletions tests/data/t106.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<MensajeActivacionComercializadorSaliente xmlns="http://localhost/elegibilidad">
<MensajeActivacionComercializadorSalienteT1 xmlns="http://localhost/elegibilidad">
<Cabecera>
<CodigoREEEmpresaEmisora>1234</CodigoREEEmpresaEmisora>
<CodigoREEEmpresaDestino>4321</CodigoREEEmpresaDestino>
Expand All @@ -10,7 +10,7 @@
<FechaSolicitud>2016-07-21T12:59:47</FechaSolicitud>
<CUPS>ES1234000000000001JN0F</CUPS>
</Cabecera>
<NotificacionComercializadorSaliente>
<NotificacionComercializadorSalienteT1>
<DatosNotificacion>
<FechaActivacion>2016-08-21</FechaActivacion>
</DatosNotificacion>
Expand Down Expand Up @@ -87,5 +87,5 @@
<Comentarios>Comentarios Varios</Comentarios>
</PuntoDeMedida>
</PuntosDeMedida>
</NotificacionComercializadorSaliente>
</MensajeActivacionComercializadorSaliente>
</NotificacionComercializadorSalienteT1>
</MensajeActivacionComercializadorSalienteT1>
4 changes: 2 additions & 2 deletions tests/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -3831,7 +3831,7 @@ def test_create_pas06(self):
puntos_de_medida = self.puntos_de_medida

# NotificacionComercializadorSaliente
notificacion_comercializador_saliente = t1.NotificacionComercializadorSaliente()
notificacion_comercializador_saliente = t1.NotificacionComercializadorSalienteT1()
notificacion_comercializador_saliente_fields = {
'datos_notificacion': datos_notificacion,
'contrato': contrato,
Expand All @@ -3841,7 +3841,7 @@ def test_create_pas06(self):

mensaje_fields = {
'cabecera': cabecera,
'notificacion_comercializador_saliente': notificacion_comercializador_saliente,
'notificacion_comercializador_saliente_t1': notificacion_comercializador_saliente,
}
mensaje.feed(mensaje_fields)
mensaje.build_tree()
Expand Down

0 comments on commit 55a36a5

Please sign in to comment.