Hello,

On Mon, 7 Apr 2025, at 13:39, Lei Yang wrote:
> I'd like to submit a patch for the lavacli package that fixes a failing test 
> in test_lab.py where paths containing dots aren't handled correctly. See the 
> failure in https://ci.debian.net/packages/l/lavacli/unstable/amd64/
>  
> The test_base_dir test is currently comparing paths incorrectly:
>   assert str(config.base_dir) == str(config.filepath).split(".")[0]
>  
> This fails when the temporary test path contains dots (e.g. 
> "/tmp/autopkgtest.xVit3Q/...") because split(".") only removes text after the 
> first dot.
 
Thank you!
Patch applied.

-- 
Cheers,
  Andrej

Reply via email to