← Back to team overview

curtin-dev team mailing list archive

Re: [Merge] ~dbungert/curtin:py35-fixes into curtin:release/23.1

 


Diff comments:

> diff --git a/tests/unittests/test_storage_config.py b/tests/unittests/test_storage_config.py
> index a538ece..516d56a 100644
> --- a/tests/unittests/test_storage_config.py
> +++ b/tests/unittests/test_storage_config.py
> @@ -1170,7 +1170,10 @@ class TestSelectConfigs(CiTestCase):
>          id1 = {'a': 1, 'c': 3}
>          sc = {'id0': id0, 'id1': id1}
>  
> -        self.assertEqual([id0, id1], select_configs(sc, a=1))
> +        actual = select_configs(sc, a=1)
> +        self.assertEqual(2, len(actual))
> +        self.assertIn(id0, actual)
> +        self.assertIn(id1, actual)

https://paste.ubuntu.com/p/TFT45r5xDZ/

>  
>      def test_not_found(self):
>          id0 = {'a': 1, 'b': 2}


-- 
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/443616
Your team curtin developers is subscribed to branch curtin:release/23.1.



References