~nataliabidart/ubuntuone-control-panel/subscribe

« back to all changes in this revision

Viewing changes to integration/test_dbus_client.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2010-11-10 18:49:41 UTC
  • mfrom: (17.1.4 separate-gui-gtk)
  • Revision ID: tarmac-20101110184941-k5azki88kux3zr7e
Moved the gui code to a separated gtk module (LP: #673585).

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import ubuntu_sso
26
26
 
27
27
from twisted.internet.defer import inlineCallbacks
28
 
from twisted.trial import unittest
29
 
 
 
28
from ubuntuone.devtools.testcase import DBusTestCase as TestCase
30
29
# pylint: disable=E0611, F0401
31
30
from ubuntuone.syncdaemon import dbus_interface as sd_dbus_iface
32
31
# pylint: enable=E0611, F0401
 
32
 
33
33
from ubuntuone.controlpanel import dbus_service
34
34
from ubuntuone.controlpanel import dbus_client
35
35
 
 
36
 
36
37
SAMPLE_CREDS = {
37
38
    "token": "ABCDEF12345678",
38
39
    "access_token": "DEADCAFE2010",
189
190
        raise TestDBusException()
190
191
 
191
192
 
192
 
class DBusClientTestCase(unittest.TestCase):
193
 
    """test for the dbus client."""
 
193
class DBusClientTestCase(TestCase):
 
194
    """Test for the dbus client."""
 
195
 
194
196
    timeout = 5
195
197
    mock = None
196
198