~nataliabidart/ubuntuone-control-panel/fix-setup-for-qt

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/tests/test_backend.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2011-09-09 18:41:15 UTC
  • mfrom: (221.1.1 shares-real-path)
  • Revision ID: tarmac-20110909184115-qwrp4qnjz0jnue5w
- Use real path for shares when building the QT UI (LP: #831424).

Show diffs side-by-side

added added

removed removed

Lines of Context:
811
811
 
812
812
            share = share.copy()
813
813
 
 
814
            share[u'realpath'] = share[u'path']
814
815
            nicer_path = share[u'path'].replace(SHARES_PATH, SHARES_PATH_LINK)
815
816
            share[u'path'] = nicer_path
816
817
            share[u'type'] = self.be.SHARE_TYPE