~ubuntuone-control-tower/ubuntuone-client/trunk

« back to all changes in this revision

Viewing changes to contrib/testing/testcase.py

  • Committer: Tarmac
  • Author(s): Diego Sarmentero, Rodney Dawes
  • Date: 2014-04-11 14:23:37 UTC
  • mfrom: (1403.1.8 ubuntuone-client)
  • Revision ID: tarmac-20140411142337-vg6lk4a6a5au0jag
- Show a message when the client is started indicating that the service will be suspended on June 1st.
- After June 1st, don't contact the server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    config,
51
51
    action_queue,
52
52
    event_queue,
53
 
    files_search,
54
53
    filesystem_manager as fs_manager,
55
54
    interaction_interfaces,
56
55
    interfaces,
165
164
            verifyObject(interfaces.IActionQueue, self)
166
165
        return r
167
166
 
168
 
    # IContentQueue
169
 
    def cancel_download(self, share_id, node_id):
170
 
        """Stub implementation."""
171
 
 
172
 
    def cancel_upload(self, share_id, node_id):
173
 
        """Stub implementation."""
174
 
 
175
 
    def download(self, share_id, node_id, server_hash, path, fileobj_factory):
176
 
        """Stub implementation."""
177
 
 
178
 
    def upload(self, share_id, node_id, previous_hash, hash, crc32,
179
 
               size, path, fileobj_factory):
180
 
        """Stub implementation."""
181
 
 
182
167
    # IMetaQueue
183
168
    def connect(self, host=None, port=None, user_ssl=False):
184
169
        """Just send connect!."""
294
279
        self.lr = local_rescan.LocalRescan(self.vm, self.fs,
295
280
                                           self.event_q, self.action_q)
296
281
 
297
 
        self.eventlog_listener = None
298
282
        self.status_listener = FakeStatusListener()
299
 
        self.search = files_search.SearchFiles(self.fs)
300
283
 
301
284
    def _connect_aq(self, _):
302
285
        """Connect the fake action queue."""