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:
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': {}}},
},