~diegosarmentero/ubuntuone-client/darwin2-fsevents

« back to all changes in this revision

Viewing changes to tests/syncdaemon/test_main.py

  • Committer: Diego Sarmentero
  • Date: 2012-06-22 14:07:26 UTC
  • mfrom: (1261.2.3 ubuntuone-client)
  • Revision ID: diego.sarmentero@canonical.com-20120622140726-3m0w05qwslv24x8d
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
 
283
283
    def test_get_homedir(self):
284
284
        """The get_homedir returns the root dir."""
285
 
        self.patch(main_mod, "xdg_home", self.home_dir)
 
285
        self.patch(main_mod, "user_home", self.home_dir)
286
286
        expected = expand_user('~')
287
287
        main = self.build_main()
288
288
        self.assertEqual(main.get_homedir(), expected)