~verterok/ubuntuone-client/tritcask-fix-825366-stable-2-0

« back to all changes in this revision

Viewing changes to tests/syncdaemon/test_localrescan.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2011-09-12 18:26:50 UTC
  • mfrom: (1133.1.2 test-fix)
  • Revision ID: tarmac-20110912182650-ahgdt2yz30018gjx
- Made local_rescan symlink test multiplatform (LP: #838993).

Show diffs side-by-side

added added

removed removed

Lines of Context:
621
621
        source = self.create_node("a", is_dir=False)
622
622
 
623
623
        # and a symlink to ignore!
624
 
        symlpath = os.path.join(self.share.path, "b")
 
624
        symlname = 'a_symlink'
 
625
        symlpath = os.path.join(self.share.path, symlname)
625
626
        make_link(source, symlpath)
626
627
 
627
628
        yield self.lr.start()
628
629
        self.assertEqual(self.eq.pushed, [])
629
630
        self.assertTrue(self.handler.check_info("Ignoring path",
630
 
                                                "symlink", symlpath))
 
631
                                                "symlink", symlname))
631
632
 
632
633
    @skipIfOS('win32', "Windows paths are already unicode, "
633
634
                       "can't make this explode there")