From a8da2c33f6bf124f05e24ac5c938b830f1bd81b5 Mon Sep 17 00:00:00 2001 From: Naman Jain Date: Thu, 21 Sep 2023 21:54:23 +0530 Subject: [PATCH] Added Namespace in org info (#3662) Co-authored-by: David Reed --- cumulusci/cli/org.py | 1 + cumulusci/cli/tests/test_org.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cumulusci/cli/org.py b/cumulusci/cli/org.py index 4dc5ed3e6f..c8ee718e6f 100644 --- a/cumulusci/cli/org.py +++ b/cumulusci/cli/org.py @@ -330,6 +330,7 @@ def org_info(runtime, org_name, print_json): "instance_url", "instance_name", "is_sandbox", + "namespace", "namespaced", "org_id", "org_type", diff --git a/cumulusci/cli/tests/test_org.py b/cumulusci/cli/tests/test_org.py index 01692e22a8..007e82249d 100644 --- a/cumulusci/cli/tests/test_org.py +++ b/cumulusci/cli/tests/test_org.py @@ -540,6 +540,7 @@ def test_org_info(self): "default": True, "password": None, "connected_app": "built-in", + "namespace": "test", } org_config.expires = date.today() org_config.latest_api_version = "42.0" @@ -557,6 +558,7 @@ def test_org_info(self): ["\x1b[1mconnected_app\x1b[0m", "built-in"], ["\x1b[1mdays\x1b[0m", "1"], ["\x1b[1mdefault\x1b[0m", "True"], + ["\x1b[1mnamespace\x1b[0m", "test"], ["\x1b[1mpassword\x1b[0m", "None"], ], )