@mock.patch(CTX % "%s.osclients")
    def test_setup(self, mock_osclients):
        mock_app = mock.MagicMock(id="fake_app_id")
        (mock_osclients.Clients().murano().
            packages.create.return_value) = mock_app

        murano_ctx = murano_packages.PackageGenerator(self._get_context())
        murano_ctx.setup()

        self.assertEqual(2, len(murano_ctx.context["tenants"]))
        tenant_id = murano_ctx.context["users"][0]["tenant_id"]
        self.assertEqual([mock_app],
                         murano_ctx.context["tenants"][tenant_id]["packages"])
dataset/ETHPy150Open openstack/rally/tests/unit/plugins/openstack/context/murano/test_murano_packages.py/MuranoGeneratorTestCase.test_setup/swapped operands of `%`