~mandel/ubuntuone-client/add-method-name

« back to all changes in this revision

Viewing changes to ubuntuone/platform/windows/os_helper.py

  • Committer: Manuel de la Pena
  • Date: 2011-09-01 10:53:13 UTC
  • Revision ID: mandel@themacaque.com-20110901105313-yp6zf76mnb1j9i8t
Added tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
    }
133
133
    messages = _add_method_info(messages, method_name)
134
134
 
135
 
    assert isinstance(path, unicode), messages['unicode'] % path
 
135
    assert isinstance(path, unicode), messages['unicode_path'] % path
136
136
    assert path.startswith(LONG_PATH_PREFIX), messages['long_path'] % path
137
137
    assert os.path.isabs(path.replace(LONG_PATH_PREFIX, u''))
138
138