diff options
Diffstat (limited to 'tests/test_manifest_xml.py')
| -rw-r--r-- | tests/test_manifest_xml.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_manifest_xml.py b/tests/test_manifest_xml.py index 6977b417..9060ef3d 100644 --- a/tests/test_manifest_xml.py +++ b/tests/test_manifest_xml.py | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | """Unittests for the manifest_xml.py module.""" | 15 | """Unittests for the manifest_xml.py module.""" |
| 16 | 16 | ||
| 17 | import os | 17 | import os |
| 18 | import platform | ||
| 18 | import shutil | 19 | import shutil |
| 19 | import tempfile | 20 | import tempfile |
| 20 | import unittest | 21 | import unittest |
| @@ -377,6 +378,11 @@ class ProjectElementTests(ManifestParseTestCase): | |||
| 377 | self.assertCountEqual( | 378 | self.assertCountEqual( |
| 378 | result['extras'], | 379 | result['extras'], |
| 379 | ['g1', 'g2', 'g1', 'name:extras', 'all', 'path:path']) | 380 | ['g1', 'g2', 'g1', 'name:extras', 'all', 'path:path']) |
| 381 | groupstr = 'default,platform-' + platform.system().lower() | ||
| 382 | self.assertEqual(groupstr, manifest.GetGroupsStr()) | ||
| 383 | groupstr = 'g1,g2,g1' | ||
| 384 | manifest.manifestProject.config.SetString('manifest.groups', groupstr) | ||
| 385 | self.assertEqual(groupstr, manifest.GetGroupsStr()) | ||
| 380 | 386 | ||
| 381 | def test_set_revision_id(self): | 387 | def test_set_revision_id(self): |
| 382 | """Check setting of project's revisionId.""" | 388 | """Check setting of project's revisionId.""" |
