diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-10-02 15:09:47 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-10-02 15:09:47 (GMT) |
commit | f4052d1cf38132aaab56c9228e18fa791aa1be57 (patch) | |
tree | d1187723aea8074c44bb164eb00ec9902d22d9b2 /tests/units/injector.py | |
parent | ef69b25a9ba9c34abe0493026162790bbb5ea424 (diff) |
Fix launching; calculate feeds instead of storing
Diffstat (limited to 'tests/units/injector.py')
-rwxr-xr-x | tests/units/injector.py | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/tests/units/injector.py b/tests/units/injector.py index 21333da..26fe744 100755 --- a/tests/units/injector.py +++ b/tests/units/injector.py @@ -49,10 +49,7 @@ class InjectorTest(tests.Test): 'date': 0, 'stability': 'stable', 'notes': '', - }) - - remote.put(['context', context, 'versions'], { - '1': { + 'spec': { '*-*': { 'commands': { 'activity': { @@ -60,7 +57,6 @@ class InjectorTest(tests.Test): }, }, 'stability': 'stable', - 'guid': impl, 'size': 0, }, }, @@ -113,9 +109,7 @@ class InjectorTest(tests.Test): 'date': 0, 'stability': 'stable', 'notes': '', - }) - remote.put(['context', context, 'versions'], { - '1': { + 'spec': { '*-*': { 'commands': { 'activity': { @@ -123,7 +117,6 @@ class InjectorTest(tests.Test): }, }, 'stability': 'stable', - 'guid': impl, 'size': 0, 'extract': 'TestActivitry', }, @@ -164,23 +157,7 @@ class InjectorTest(tests.Test): 'date': 0, 'stability': 'stable', 'notes': '', - }) - - remote.put(['context', context, 'versions'], { - '1': { - '*-*': { - 'commands': { - 'activity': { - 'exec': 'false', - }, - }, - 'stability': 'stable', - 'guid': impl, - 'size': 0, - 'extract': 'TestActivitry', - }, - }, - '2': { + 'spec': { '*-*': { 'commands': { 'activity': { @@ -188,7 +165,6 @@ class InjectorTest(tests.Test): }, }, 'stability': 'stable', - 'guid': impl_2, 'size': 0, 'extract': 'TestActivitry', }, |