Bugzilla – Bug 1214069
yast2-packger unit test is broken
Last modified: 2024-01-09 16:50:10 UTC
It fails with: #<Yast::Y2Logger:0x0000564073c899e8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000564073c89970 @datetime_format=nil>, @formatter=nil, @logdev=nil> received :warn with unexpected arguments expected: (/no repos in \/tmp\/d20230808-26505-18t0hzw\/repos.d/) got: ("No widget with ID `id (`contents) in the current dialog") Diff: @@ -1 +1 @@ -[/no repos in \/tmp\/d20230808-26505-18t0hzw\/repos.d/] +["No widget with ID `id (`contents) in the current dialog"] # /usr/share/YaST2/modules/Progress.rb:906:in `try_replace_widget' # /usr/share/YaST2/modules/Progress.rb:450:in `New' # /usr/share/YaST2/modules/PackageCallbacks.rb:2491:in `ProcessStart' # ./src/lib/packager/clients/pkg_finish.rb:93:in `write' # /usr/share/YaST2/lib/installation/finish_client.rb:57:in `run' # ./test/pkg_finish_test.rb:349:in `block (5 levels) in <top (required)>'
Fixed in yast2-packager-4.6.2 (https://github.com/yast/yast-packager/pull/640)