Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/client/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/client/cache.py')
-rwxr-xr-xtests/units/client/cache.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/units/client/cache.py b/tests/units/client/cache.py
index d8c2dde..5ae418e 100755
--- a/tests/units/client/cache.py
+++ b/tests/units/client/cache.py
@@ -204,7 +204,7 @@ class CacheTest(tests.Test):
'activity_version = 1',
'license = Public Domain',
'stability = stable',
- ]])), cmd='release', initial=True)
+ ]])), cmd='submit', initial=True)
impl2 = conn.upload(['implementation'], StringIO(self.zips(['TestActivity/activity/activity.info', [
'[Activity]',
'name = TestActivity',
@@ -214,7 +214,7 @@ class CacheTest(tests.Test):
'activity_version = 1',
'license = Public Domain',
'stability = stable',
- ]])), cmd='release', initial=True)
+ ]])), cmd='submit', initial=True)
impl3 = conn.upload(['implementation'], StringIO(self.zips(['TestActivity/activity/activity.info', [
'[Activity]',
'name = TestActivity',
@@ -224,7 +224,7 @@ class CacheTest(tests.Test):
'activity_version = 1',
'license = Public Domain',
'stability = stable',
- ]])), cmd='release', initial=True)
+ ]])), cmd='submit', initial=True)
self.assertEqual('exit', [i for i in conn.get(['context', 'context1'], cmd='launch')][-1]['event'])
self.assertEqual([impl1], [i for i in self.client_routes._cache])
@@ -255,7 +255,7 @@ class CacheTest(tests.Test):
'activity_version = 1',
'license = Public Domain',
'stability = stable',
- ]])), cmd='release', initial=True)
+ ]])), cmd='submit', initial=True)
conn.put(['context', 'context'], True, cmd='clone')
self.assertEqual([], [i for i in self.client_routes._cache])
@@ -274,7 +274,7 @@ class CacheTest(tests.Test):
'activity_version = 2',
'license = Public Domain',
'stability = stable',
- ]])), cmd='release', initial=True)
+ ]])), cmd='submit', initial=True)
shutil.rmtree('cache')
conn.put(['context', 'context'], True, cmd='clone')