~mvo/ubuntu-sso-client/strawman-lp711413

« back to all changes in this revision

Viewing changes to ubuntu_sso/tests/test_auth.py

  • Committer: natalia.bidart at canonical
  • Date: 2010-06-10 14:34:40 UTC
  • mto: This revision was merged to the branch mainline in revision 537.
  • Revision ID: natalia.bidart@canonical.com-20100610143440-nzqm5ad5g0xd2k29
Making rename of ubuntu.sso to ubuntu_sso to avoid package name clashing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# test_auth - Tests for ubuntu.sso.auth module
 
1
# test_auth - Tests for ubuntu_sso.auth module
2
2
#
3
3
# Author: Stuart Langridge <stuart.langridge@canonical.com>
4
4
#
23
23
 
24
24
from oauth import oauth
25
25
from twisted.trial.unittest import TestCase as TwistedTestCase
26
 
from ubuntu.sso.auth import AuthorisationClient, NoAccessToken
 
26
from ubuntu_sso.auth import AuthorisationClient, NoAccessToken
27
27
 
28
28
 
29
29
# Adding TwistedTestCase as parent to be able to skip
132
132
        """The store_token method correctly stores an item in the keyring,
133
133
           and correctly sets an ACL on it."""
134
134
        self.expect_token_store().result(self.item_id)
135
 
        saka = self.mocker.replace("ubuntu.sso.key_acls.set_all_key_acls")
 
135
        saka = self.mocker.replace("ubuntu_sso.key_acls.set_all_key_acls")
136
136
        saka(item_id=self.item_id)
137
137
        self.mocker.result(None)
138
138