Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/injector.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/injector.py')
-rwxr-xr-xtests/units/injector.py30
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',
},