diff options
| author | Peter Kjellerstedt <pkj@axis.com> | 2025-11-18 20:13:03 +0100 |
|---|---|---|
| committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-12-03 07:57:22 -0800 |
| commit | 2b6de52a36d5d38c7b9a92d7f61e1f0daf4dec69 (patch) | |
| tree | 33db8a429b972f1fb8fa8f82d1bce2a62bdec8e2 /tests | |
| parent | 91ec998598be569b1f167cc8776b58f9540b639a (diff) | |
| download | git-repo-2b6de52a36d5d38c7b9a92d7f61e1f0daf4dec69.tar.gz | |
Rename XmlManifest.GetGroupsStr() to XmlManifest.GetManifestGroupsStr()
This makes it more clear what kind of groups it refers to.
Change-Id: I47369050d1436efcc77f3a69d5b7c99a536b23bc
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/528462
Tested-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_manifest_xml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_manifest_xml.py b/tests/test_manifest_xml.py index 0cd84f081..039921f65 100644 --- a/tests/test_manifest_xml.py +++ b/tests/test_manifest_xml.py | |||
| @@ -639,10 +639,10 @@ class ProjectElementTests(ManifestParseTestCase): | |||
| 639 | {"g1", "g2", "name:extras", "all", "path:path"}, | 639 | {"g1", "g2", "name:extras", "all", "path:path"}, |
| 640 | ) | 640 | ) |
| 641 | groupstr = "default,platform-" + platform.system().lower() | 641 | groupstr = "default,platform-" + platform.system().lower() |
| 642 | self.assertEqual(groupstr, manifest.GetGroupsStr()) | 642 | self.assertEqual(groupstr, manifest.GetManifestGroupsStr()) |
| 643 | groupstr = "g1,g2,g1" | 643 | groupstr = "g1,g2,g1" |
| 644 | manifest.manifestProject.config.SetString("manifest.groups", groupstr) | 644 | manifest.manifestProject.config.SetString("manifest.groups", groupstr) |
| 645 | self.assertEqual(groupstr, manifest.GetGroupsStr()) | 645 | self.assertEqual(groupstr, manifest.GetManifestGroupsStr()) |
| 646 | 646 | ||
| 647 | def test_set_revision_id(self): | 647 | def test_set_revision_id(self): |
| 648 | """Check setting of project's revisionId.""" | 648 | """Check setting of project's revisionId.""" |
