From c86213991edea717c964bf660b62634e7c1ff543 Mon Sep 17 00:00:00 2001 From: Divam Date: Tue, 17 Dec 2024 14:32:41 +0900 Subject: [PATCH 1/2] Fix version test --- ragger-tests/test_version_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ragger-tests/test_version_cmd.py b/ragger-tests/test_version_cmd.py index bbd8808..0598ba1 100644 --- a/ragger-tests/test_version_cmd.py +++ b/ragger-tests/test_version_cmd.py @@ -13,7 +13,7 @@ def test_version(backend): raise FileNotFoundError("Cargo.toml not found") with open(cargo_path, "rb") as f: - return tomli.load(f) + data = tomli.load(f) version = (tuple(map(int, data['package']['version'].split('.'))), "alamgu example") # Use the app interface instead of raw interface From a9ddfe232c172e55f8005965257d130f7c164112 Mon Sep 17 00:00:00 2001 From: Divam Date: Tue, 17 Dec 2024 16:25:45 +0900 Subject: [PATCH 2/2] Remove deadcode and unused files --- .../test_get_public_key_confirm_refused/00000.png | Bin 337 -> 0 bytes .../test_get_public_key_confirm_refused/00001.png | Bin 837 -> 0 bytes .../test_get_public_key_confirm_refused/00002.png | Bin 517 -> 0 bytes .../test_get_public_key_confirm_refused/00003.png | Bin 339 -> 0 bytes .../test_get_public_key_confirm_refused/00004.png | Bin 335 -> 0 bytes .../test_get_public_key_confirm_refused/00000.png | Bin 337 -> 0 bytes .../test_get_public_key_confirm_refused/00001.png | Bin 837 -> 0 bytes .../test_get_public_key_confirm_refused/00002.png | Bin 517 -> 0 bytes .../test_get_public_key_confirm_refused/00003.png | Bin 339 -> 0 bytes .../test_get_public_key_confirm_refused/00004.png | Bin 335 -> 0 bytes ragger-tests/test_pubkey_cmd.py | 14 -------------- 11 files changed, 14 deletions(-) delete mode 100644 ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00000.png delete mode 100644 ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00001.png delete mode 100644 ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00002.png delete mode 100644 ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00003.png delete mode 100644 ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00004.png delete mode 100644 ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00000.png delete mode 100644 ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00001.png delete mode 100644 ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00002.png delete mode 100644 ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00003.png delete mode 100644 ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00004.png diff --git a/ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00000.png b/ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00000.png deleted file mode 100644 index 6d71548fc4617aea7ab8e18de3e70b72be192afc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 337 zcmV-X0j~auP)5fO0F_f~C1X2#Lf79#+l(r4%9Je40dCr}P?Y4@AO z_B1rD$_7-9Z|-q2a_G_j>oQAnO6G5q!I2%u{EWVIoqg*{VUqe`%d&h+?69=44ofZ6 zU;pBC>(vCVW|9XgM6aKx?A@@>7AZM3`YO~jCxLbT!z-X;h?WM7F8egfoCLO5Ne}u) zZ)re-wTzg1?0Px84w9|WT3Y`GYzakOPW$oAlf>CQPx*Q}9k%tLAu)!#^R3Y5HWZ#w z|4Rh`0002sx4oWD;CHS6V_T4U#+b`NMSUn!W~1l|NCT0h5e-vGL%ggAfQXw7IPjLI@#S>Aj~OIr%4R@4ZXo zXG;ID$&J?-&2ye2iIWako>=i%?uN>*-4$4X{XSBTUCn_YAl->Fk;_7_yJTj=N^SU&5o(&^^`QfBN2DOL+}^U>o|x5=00g zh(fNUFPq^_*08rFy?aa+~8 z$~gdxxi5`fqi78=aCB#@Udv=%yAEPwZdzkRo{wY^85s3x`*SH!?PS+Fr(I1P^rR0s z%L0JR?iP6&Dr;&;5IgG0HdNv)2No{Kde&?@V<0&o7Z-d8oUlm+#NB_dfrvf0!Wr!9VsPCAmgcoIGj?rO(n zKYCo5xlmOr*s!)ZHD-141qWtzM1-TpDus;Dl)+SWlWn=0Ev&$8>&2|FXS<;itELJA zM>??Sy48$snhwBinRXguY0HHg3k8u*!P~NrbO8Jh8q3*Q#lvk;*|h{Yny^d>*B`%> zda1Oq1qj<>iS1>}gb+dqA%wg`@piOD*KU>}_l;#@%8q3@{MWE+Hg!9XpH$vI1X!YO zN+OnuG-4+uAmj3Km=nz7P}G7>i?i&t=gjj_*HW7%Jiym;?5wq zz9-#VpoV^fsJn!}<9k4ZLoHucp#D5>2b8SCx}2(=JcJNJ2qAb%-|RE@#A~@ P00000NkvXXu0mjfnPZYd diff --git a/ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00002.png b/ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00002.png deleted file mode 100644 index bbe7b2d8ed9ab7c1dfbb0d9eec6bb281901016e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 517 zcmV+g0{Z=lP)mw(2?7Az)0kb*_OP-yGx=9f zCVAZ0IO)rb`sh86eN8p-2~&^39)c_PxWYdZWUtcPKD zw^vUQs?*4y$#C1)zvH>IaR?JLMbPteotr1g9*@;SBu}JOhuw(NsTt7Xf3uxLSF$Kw zfAH7P$fV=$dJg0CBXJqe9Ufi8jI!kSB$zRDF8f2~{)$b`q>0x})C^f}EddQp8oLTd4% z^?#P2o1XdoFZ-{1^uav!l?MO-0000000000000000KgdEY5*wvWq83f00000NkvXX Hu0mjf=^6Gk diff --git a/ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00003.png b/ragger-tests/snapshots/nanosp/test_get_public_key_confirm_refused/00003.png deleted file mode 100644 index 2eec8fcc9ebe7a9775e05e01af2ca226a61adfcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 339 zcmeAS@N?(olHy`uVBq!ia0vp^4M6O`!2~2@x4h6`U|^K;ba4!+nDh2VU|x%Y07Jm- zFKT!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lmOr*s!)ZHD-141qWtzM1-TpDus;Dl)+SWlWn=0Ev&$8>&2|FXS<;itELJA zM>??Sy48$snhwBinRXguY0HHg3k8u*!P~NrbO8Jh8q3*Q#lvk;*|h{Yny^d>*B`%> zda1Oq1qj<>iS1>}gb+dqA%wg`@piOD*KU>}_l;#@%8q3@{MWE+Hg!9XpH$vI1X!YO zN+OnuG-4+uAmj3Km=nz7P}G7>i?i&t=gjj_*HW7%Jiym;?5wq zz9-#VpoV^fsJn!}<9k4ZLoHucp#D5>2b8SCx}2(=JcJNJ2qAb%-|RE@#A~@ P00000NkvXXu0mjfnPZYd diff --git a/ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00002.png b/ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00002.png deleted file mode 100644 index bbe7b2d8ed9ab7c1dfbb0d9eec6bb281901016e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 517 zcmV+g0{Z=lP)mw(2?7Az)0kb*_OP-yGx=9f zCVAZ0IO)rb`sh86eN8p-2~&^39)c_PxWYdZWUtcPKD zw^vUQs?*4y$#C1)zvH>IaR?JLMbPteotr1g9*@;SBu}JOhuw(NsTt7Xf3uxLSF$Kw zfAH7P$fV=$dJg0CBXJqe9Ufi8jI!kSB$zRDF8f2~{)$b`q>0x})C^f}EddQp8oLTd4% z^?#P2o1XdoFZ-{1^uav!l?MO-0000000000000000KgdEY5*wvWq83f00000NkvXX Hu0mjf=^6Gk diff --git a/ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00003.png b/ragger-tests/snapshots/nanox/test_get_public_key_confirm_refused/00003.png deleted file mode 100644 index 2eec8fcc9ebe7a9775e05e01af2ca226a61adfcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 339 zcmeAS@N?(olHy`uVBq!ia0vp^4M6O`!2~2@x4h6`U|^K;ba4!+nDh2VU|x%Y07Jm- zFKT!Gd)!$nua?GjZD~W^;`g;XS={G39*7kKYJz}eza;o47VAX?c|A^)Pg=oH`bs%9 z@-SL3>~Tq3zQV~njO>bnc>?AUh2{xNTkeRtmU zNMqxNi++~7&OerM`uv}Fa@)<{m04Kqh}iS)g-D17O_wH()xoQ8$cya!LSDev5CVzR~6vub$ckeah gAI5wzFE&*FWDELyxtxFVdQ&MBb@09cnB5%=14dB}f#lk1;q6(gg+w0{Rsfw+KA?x@(>Du|Min!V}u; zRC&cqRUhd5n*B^BCf;AM#sB=5@N0U{5E)=-;WLD|G!p-`-GlwTC{C@mfFXv`oMR#J^xzfX)jnlBkjKIr(piq(Ung! zonyZF90)Uc7CG;>&!!pEmYbh{vU-o%!)J$Tw{d>oovA-F>Z+!O_VL!V&obYV!@eH# zullwmdh34nC8<`{JLk_0XrH|*XWPm9%