From b92a74058dbc606a43befec7e0e42ccce0de0122 Mon Sep 17 00:00:00 2001 From: belthlemar Date: Wed, 25 Sep 2024 18:29:56 +0200 Subject: [PATCH] fix(adq_patch): set default value for field to False --- requirements.txt | 2 +- resources/empty_study_860.zip | Bin 64654 -> 64589 bytes resources/empty_study_870.zip | Bin 64653 -> 64588 bytes resources/empty_study_880.zip | Bin 64609 -> 64544 bytes .../business/test_study_version_upgrader.py | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 4659b879ba..2a7ff60a2d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ Antares-Launcher~=1.3.2 -antares-study-version~=1.0.3 +antares-study-version==1.0.6 antares-timeseries-generation~=0.1.5 # When you install `fastapi[all]`, you get FastAPI along with additional dependencies: diff --git a/resources/empty_study_860.zip b/resources/empty_study_860.zip index 50ee0b283e73e0cb0bf9ee69c9ae95c065eefd02..1ef7d7bc0aa183977d73b0c50df26a0ce05482a3 100644 GIT binary patch delta 1919 zcmZ`)X;@Qd7QVSRfh3R+hX9g71Yv4`LI4|fW72Op093n#_R}iN^4VN5-F7c zGOePn#*$$IzWi%e7X9ya1Ke(Jnz+y-x4SYvKoQ% z1(tYEVC%QKc8uOxy|;wvmg70vJtnzFuXuzdW!;jmPRlU7Rwi$CRYaL(T@9_3%e~wO zjGUoUXd2?S&vl=J#W~yWZQ|69-oe{l>3*%xC$$2@6Uu5fPlsG6RMbkU^2hH#b(9-) z`DA9yNe|t9$h4-(N4~niuMT!mO22JE);$y(X3t&Urz2CC4%{0ki|8@fF;jW`>;17! z8><>bom;GUB$2l79h=&@9Zrg0?mib?xY)ec=tS-iuZEd{_OkVm`rGJd?jlxjlFX9dz3NIN^ zn>p^_BpsCN8jJorMuA57%+qQQFQ7$oC61)V4LF;JQ z_9Hxwqs^VRj5@`j3f=Ix7sYYMOfAR<#INxg#fv(=#TcKYQv%P>&_~$#gmIB+|TVy-BjQE$!buv7emM z_x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Ic%_oZoTa?m&CUb{##T=@8YwzFvTo-SVS?)ca)hc_jivPzq?KmQtJe0XcA>58_j z{PSiNdc!P-j|s(WjcEH9tKYRgA9D8dNxL<8^L1^rd3)OL3@6OjQ%86Ii_jz7jE=j7 z>9-f(8XI`a@jFr4|4;k6n>EJ$CxiUSC$2EQHI6TDx$TzkyZqf?Rzg{?adl#8xS{Bj zd~@*RmQiUhn|bsXJE2)vau37l>~F>WHHv@OCMuiw{+vv|;3TJ{E{AiaZ}+RUySJ3? z*=?MonysNm+^ZccXz>r7UVAToB1w2H5L;LOQTb^o-SP@$?kaWT$it3jR#SEnG_#8r z6&iv~GMpQB} zwaA&wCg_p>3# z6axEG92bf`qi8|KBooshBQQkd+?Y~>y7wBOK8s@k1os*H${Au30=tv#h&oKd1P4{4 zfW~`gz{faf00qp)ys>f$0_{|*FG^Y!FOII7D8?P+f`kO`5~LR7+p_UV17wHnyW*h9@I2Ro&P zfHif#jZ9)?aImKYR?v70_yd8tECihCf8y>*4jRRRxyhZVlm&htLNOh61gebtste#3Tg$8_rvJzNLbLI^p1<@IX^>C{}o)4{%T_yhw|{UAZ3E!*rwhW%U35 zYqoenGkNN@OFTU70HoILsP;f9Wqs1)PDeKRhC*5>b&-9;_O(2AWH}5 G(SHHF%vd-8 diff --git a/resources/empty_study_870.zip b/resources/empty_study_870.zip index 78381529946171a8e3ac0b1be0c8c301d0b8aeaa..1a06576b52e3af8a4f9f00ea965cf49c02aa81b0 100644 GIT binary patch delta 1910 zcmZ`)YgAKL7QVTcgd~IzO9GNg+I5H zYw8PRt^JSf{*wl9WRL6I}*;LzBTMh0&fwcEm(G8SO`PNthvqAY`Nx+#*u7FZzt& zD3yXB>k+74X6Nq@={lqD$QWK=trA{$o-CjZnG~M5<`tEmcU!VPTWEB>TGHhqjW^Hh zj%=1ld^V46aD)C}(+JOl9tWMRFF5>QpR9864d3lS59oR!*9nPEt!~=>I-;>m+AOLs zo_+YtMPfMMmn&SXJ9hsu(@s}1wXc!i5bi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tq8Y zLf8R+6Y1d)2oQN<4hRC0_Kz#}k2U_-o^0xcgI zKwYC_K{DM}><=9i8C(3*J~A0f9lH8BeSZ|5~PF zt1`+Y*=;68TVOzdOqW4Kpq6ANyF`5>Npyq=af?2f772lIIW|wMhsDaahGhFqFSo_b zRM1rtl!*6%+!7OYmIJ*dKlHL3WG;oET4WH(-~<^CehEf<$iSC@Dg~65z0qI_#4HD* zd-s!dSq0NftU`$7YZ<^>5fut# Zhn#6>k(wwGh#Rp@W#YR9L71Wq_J6xXJSzYI diff --git a/resources/empty_study_880.zip b/resources/empty_study_880.zip index 3667408c59c3839d51f785f484464d892f90f46e..3e20e25f1872e46feeee6fa238d292ebc20a9105 100644 GIT binary patch delta 1207 zcmaF(gL%OZ<_%tg^~?+m91Ke*TSjKEFLyo%kFchbjlw{_m7we~|=A{-T z=AXozoc^S*e`-2rD?P_dl%ruu7tk6sSZtfZpV#DXN^TGRi?$DTwd8@oXMy{Ol zdhNu;tuL?MHh(34)UC4O+oF!k*F|)BUp*;WX|*K6`t71=I~dfjOV)lnP{V)!wc`0J z=jX+r5D)vbu)n!3WsAq+O|koZwM|)LdE8Iwt^F2e@%rB72eB(xZ!MFV(0I{ww?K@| z`V%uRTL$0%E8qQi?PRa3tZoJM$B(LST69J^+5ETSv-3I1|eYtgTl zN%vpPEn4WG?0#@clx%KlM@P(@C*PIL!!)wmUh%iCKe{-_s{Emm{M&_HzpcM1Gbz-s zdTwtOY~ww5$?lM&;hgJ4c4Ro)N`|ZR)*3xA)iBpPwYy^d>kFTm9D*LtPVH6H*;IWNpRF+cDOQ)$5aYkEFf^XE1`nJ~M&;(e0K zZ9B&AFS2~@3v2wJxTs~{nXLOtJNC@HW%T}oSiQf`QQ5sQ6F&%lnP|Ohhe~DfInCGH z&y%I98+88XrL;NwUo9!m7TL7_Yev-L#h-Sm$8{Wfr4_oDZQ#wB6*g)2ss9N6D0@=kDxz@%PWo&u2MbcdaqC-C7`U zRxF;tw5ul+zcgM0$-XrW4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{fQ;ib~iu057qfMXeTUd?4>A~Q&!!FK^uL(p0T2mGnaoJ{kB9G9=ppL{B!tdzf z9$Sc~<*Y!q!L%ghiDO>`h^q-BBzdXD#7&%9DCX&sd#K|ivwf#&9e<1GOl0y-?!My? z3W0V%UM**X-3dgNjHKnX_@6#~`MNe=9+6vQenfuTLYJrFaSP5*#iwg%B$)g9v<7O( zweOw9UuO0=$a(R8Ub|rfI=A)t{pyY}s|EbB21o79(APEeKWYapqoeo_P)i30m@!eH z;{yNyX9)lRP)h>@6qEJ@8M9{<^W&4y^8}MH^aLFDQMy)`F;Sr70{{SL2><{X03ZMW z000000001!e)%2?Ra6ZC2eN8#WELlrLFqA*-1!axj+5*8U;*EgO!{d7N|UzwX#vTT eAp2qh9O#pT`&|L6lj8d{3SAQb0Pg4j0000Wmp)zq diff --git a/tests/storage/business/test_study_version_upgrader.py b/tests/storage/business/test_study_version_upgrader.py index 4fa7e940ec..39ce1da653 100644 --- a/tests/storage/business/test_study_version_upgrader.py +++ b/tests/storage/business/test_study_version_upgrader.py @@ -188,7 +188,7 @@ def assert_settings_are_updated(tmp_path: Path, old_values: List[str]) -> None: assert adequacy_patch["threshold-initiate-curtailment-sharing-rule"] == 0.0 assert adequacy_patch["threshold-display-local-matching-rule-violations"] == 0.0 assert adequacy_patch["threshold-csr-variable-bounds-relaxation"] == 3 - assert adequacy_patch["enable-first-step"] + assert not adequacy_patch["enable-first-step"] def get_old_settings_values(tmp_path: Path) -> List[str]: