File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -271,3 +271,7 @@ class PriceMedioHorarioAJOMnocur(Indicator):
271
271
272
272
class PriceMedioHorarioAJOMcur (Indicator ):
273
273
path = 'indicators/1909'
274
+
275
+
276
+ class PriceSRAD (Indicator ):
277
+ path = 'indicators/1930'
Original file line number Diff line number Diff line change 903
903
expect (data ['indicator' ]['name' ]).to (
904
904
contain (u'Precio medio horario componente RD-L 10/2022 mercado diario e intradiario comercializadores de referencia' )
905
905
)
906
+
907
+ with it ('Returns PriceMedioHorarioAJOMcur instance' ):
908
+ # 1930
909
+ e = Esios (self .token )
910
+ profile = PriceSRAD (e )
911
+ assert isinstance (profile , PriceSRAD )
912
+ data = profile .get (self .start_date , self .end_date )
913
+ expect (data ['indicator' ]['short_name' ]).to (
914
+ equal (u'Precio marginal en el servicio de respuesta activa de la demanda' )
915
+ )
916
+ expect (data ['indicator' ]['name' ]).to (
917
+ contain (u'Precio marginal en el servicio de respuesta activa de la demanda' )
918
+ )
You can’t perform that action at this time.
0 commit comments