Diff comments: > diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py > index 4e268f0..3980055 100644 > --- a/tests/unittests/test_util.py > +++ b/tests/unittests/test_util.py > @@ -426,6 +426,9 @@ class TestHuman2Bytes(CiTestCase): > GB = 1024 * 1024 * 1024 > MB = 1024 * 1024 > > + def test_actually_an_int(self): > + self.assertTrue(isinstance(util.human2bytes("1M"), int)) Perfect > + > def test_float_equal_int_is_allowed(self): > self.assertEqual(1000, util.human2bytes(1000.0)) > -- https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/461402 Your team curtin developers is subscribed to branch curtin:master. -- Mailing list: https://launchpad.net/~curtin-dev Post to : curtin-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~curtin-dev More help : https://help.launchpad.net/ListHelp
- [Curtin-dev] [Merge] ~dbungert/curtin:zpool-keystore ... Dan Bungert
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Server Team CI bot
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Server Team CI bot
- [Curtin-dev] [Merge] ~dbungert/curtin:zpool-keys... Dan Bungert
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Olivier Gayot
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Dan Bungert
- [Curtin-dev] [Merge] ~dbungert/curtin:zpool-keys... Dan Bungert
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Server Team CI bot
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Michael Hudson-Doyle
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Olivier Gayot
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Dan Bungert
- Re: [Curtin-dev] [Merge] ~dbungert/curtin:zpool-... Server Team CI bot
- [Curtin-dev] [Merge] ~dbungert/curtin:zpool-keys... mp+461402