launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #15293
Re: [Merge] lp:~allenap/maas/shared-to-per-tenant-storage into lp:maas
[9]
580 + self.assertEqual(
581 + (legacy_user, legacy_user, legacy_user, legacy_user),
"(legacy_user, legacy_user, legacy_user, legacy_user)" => "[legacy_user] * 4" ?
I think it's more readable but this is really a detail.
[10]
558 + self.assertEqual(user1, reload_object(node1).owner)
559 + self.assertEqual(user1, reload_object(node2).owner)
Probably better to make that one check.
[11]
472 +class TestMigrateToUser(TestCase):
473 +
474 + def test_migrate(self):
That test is a bit… huge :) . Don't you think it could test for behavior instead of patching methods… and maybe share some code with TestMigrate.test_migrate_ancillary_data_to_legacy_user_when_multiple_users ?
--
https://code.launchpad.net/~allenap/maas/shared-to-per-tenant-storage/+merge/151858
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~allenap/maas/shared-to-per-tenant-storage into lp:maas.
Follow ups
References