From b30a273d6d2926fb404a1e87d9e31e6ef62d0d5f Mon Sep 17 00:00:00 2001 From: Ben Tremblay Date: Fri, 06 Nov 2009 19:01:23 +0000 Subject: Merge branch 'master' of gitorious@git.sugarlabs.org:tutorius/BenTremblay-Dev into bentremblay-dev --- (limited to 'tests') diff --git a/tests/storetests.py b/tests/storetests.py index 1752fe6..0c36973 100644 --- a/tests/storetests.py +++ b/tests/storetests.py @@ -15,6 +15,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import unittest +import uuid from tests.utils import skip, catch_unimplemented import random @@ -79,7 +80,6 @@ class StoreProxyLoginTest(unittest.TestCase): if session_id is not None: self.store.close_session() - @catch_unimplemented def test_get_session_id(self): @@ -99,13 +99,14 @@ class StoreProxyLoginTest(unittest.TestCase): 'name': 'newtut', 'summary': 'This is a tutorial', 'filename': 'test.xml', + 'guid': str(uuid.uuid1()), 'homepage': 'http://google.com', 'version': '1', 'cat1': '17', 'cat2': '18', 'cat3': '' } - assert self.store.publish('This should be a real tutorial...', tutorial_info) + assert self.store.publish('This should be a real tutorial...', tutorial_info) != -1 @catch_unimplemented def test_unpublish(self): -- cgit v0.9.1