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

« back to all changes in this revision

Viewing changes to tests/syncdaemon/test_interaction_interfaces.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:
2158
2158
 
2159
2159
        self.assertEqual(self.events, [('SYS_USER_DISCONNECT', {})])
2160
2160
 
 
2161
    def test_get_homedir(self):
 
2162
        """Test the get_homedir method."""
 
2163
        result = self.sd_obj.get_homedir()
 
2164
        self.assertEqual(self.main.get_homedir().decode('utf-8'), result)
 
2165
 
2161
2166
    def test_get_rootdir(self):
2162
2167
        """Test the get_rootdir method."""
2163
2168
        result = self.sd_obj.get_rootdir()