Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/client/implementations.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2013-11-04 21:05:37 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-11-04 21:33:39 (GMT)
commit35588c31ab5270e6c973f59725d2ed009e233feb (patch)
treef213fa95dbde7700596e19d63a777b8ae97b1cb5 /tests/units/client/implementations.py
parent1eff810db0c62174e8d445f15e4b1604665ac18d (diff)
Actualize ASLO sync script
Diffstat (limited to 'tests/units/client/implementations.py')
-rwxr-xr-xtests/units/client/implementations.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/units/client/implementations.py b/tests/units/client/implementations.py
index d8173e9..06902a0 100755
--- a/tests/units/client/implementations.py
+++ b/tests/units/client/implementations.py
@@ -9,6 +9,7 @@ import pickle
import shutil
import zipfile
import logging
+import hashlib
from cStringIO import StringIO
from os.path import exists, dirname
@@ -162,6 +163,7 @@ class Implementations(tests.Test):
'data': {
'unpack_size': len(activity_info),
'blob_size': len(blob),
+ 'digest': hashlib.sha1(blob).hexdigest(),
'mime_type': 'application/vnd.olpc-sugar',
'spec': {'*-*': {'commands': {'activity': {'exec': 'true'}}, 'requires': {}}},
},