diff options
Diffstat (limited to 'tests/units/home_mount.py')
-rwxr-xr-x | tests/units/home_mount.py | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/units/home_mount.py b/tests/units/home_mount.py index 3bbaab1..2312154 100755 --- a/tests/units/home_mount.py +++ b/tests/units/home_mount.py @@ -222,37 +222,37 @@ class HomeMountTest(tests.Test): self.mounts.volume['context'], ['Activities']) coroutine.sleep() - self.assertEqual({ - '1': { - '*-*': { - 'commands': { - 'activity': { - 'exec': 'false', - }, + self.assertEqual([ + { + 'version': '1', + 'arch': '*-*', + 'commands': { + 'activity': { + 'exec': 'false', }, - 'stability': 'stable', - 'guid': tests.tmpdir + '/Activities/activity-1', - 'requires': {}, }, + 'stability': 'stable', + 'guid': tests.tmpdir + '/Activities/activity-1', + 'requires': {}, }, - '2': { - '*-*': { - 'commands': { - 'activity': { - 'exec': 'true', - }, - }, - 'stability': 'stable', - 'guid': tests.tmpdir + '/Activities/activity-2', - 'requires': { - 'dep1': {}, - 'dep2': {'restrictions': [['1', '2']]}, - 'dep3': {'restrictions': [[None, '2']]}, - 'dep4': {'restrictions': [['3', None]]}, + { + 'version': '2', + 'arch': '*-*', + 'commands': { + 'activity': { + 'exec': 'true', }, }, + 'stability': 'stable', + 'guid': tests.tmpdir + '/Activities/activity-2', + 'requires': { + 'dep1': {}, + 'dep2': {'restrictions': [['1', '2']]}, + 'dep3': {'restrictions': [[None, '2']]}, + 'dep4': {'restrictions': [['3', None]]}, + }, }, - }, + ], client.get(['context', 'bundle_id', 'versions'])) |