~ubuntu-branches/ubuntu/precise/telepathy-mission-control-5/precise

« back to all changes in this revision

Viewing changes to test/twisted/account-manager/update-parameters.py

Tags: upstream-5.5.0
ImportĀ upstreamĀ versionĀ 5.5.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
 
63
63
    q.dbus_return(e.message, conn.bus_name, conn.object_path, signature='so')
64
64
 
 
65
    # MC does some setup, including fetching the list of Channels
 
66
 
 
67
    q.expect_many(
 
68
            EventPattern('dbus-method-call',
 
69
                interface=cs.PROPERTIES_IFACE, method='GetAll',
 
70
                args=[cs.CONN_IFACE_REQUESTS],
 
71
                path=conn.object_path, handled=True),
 
72
            )
 
73
 
65
74
    # MC calls GetStatus (maybe) and then Connect
66
75
 
67
76
    q.expect('dbus-method-call', method='Connect',
70
79
    # Connect succeeds
71
80
    conn.StatusChanged(cs.CONN_STATUS_CONNECTED, cs.CONN_STATUS_REASON_NONE)
72
81
 
73
 
    # MC does some setup, including fetching the list of Channels
74
 
 
75
 
    q.expect_many(
76
 
            EventPattern('dbus-method-call',
77
 
                interface=cs.PROPERTIES_IFACE, method='GetAll',
78
 
                args=[cs.CONN_IFACE_REQUESTS],
79
 
                path=conn.object_path, handled=True),
80
 
            )
81
 
 
82
82
    # Assert that the NormalizedName is harvested from the Connection at some
83
83
    # point
84
84
    while 1: