~mandel/ubuntuone-client/add-virtual-watches

« back to all changes in this revision

Viewing changes to tests/platform/test_external_interface.py

  • Committer: manuel.delapena at canonical
  • Date: 2012-01-16 12:16:27 UTC
  • mfrom: (1176.1.3 ubuntuone-client)
  • Revision ID: manuel.delapena@canonical.com-20120116121627-2tbt1ed9d43m21zx
Made code more efficient by using sets instead of collections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
        self.assert_remote_method('disconnect')
166
166
 
167
167
    @defer.inlineCallbacks
 
168
    def test_get_homedir(self):
 
169
        """Test get_homedir."""
 
170
        result = self.root_dir
 
171
        yield self.assert_method_called(self.service.sync,
 
172
                                        'get_homedir', result)
 
173
        self.assert_remote_method('get_homedir', out_signature='s')
 
174
 
 
175
    @defer.inlineCallbacks
168
176
    def test_get_rootdir(self):
169
177
        """Test get_rootdir."""
170
178
        result = self.root_dir