~ubuntu-branches/ubuntu/precise/ubuntuone-client/precise-201201132228

« back to all changes in this revision

Viewing changes to tests/platform/windows/test_pyinotify.py

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2011-12-21 15:46:25 UTC
  • mfrom: (1.1.56)
  • Revision ID: package-import@ubuntu.com-20111221154625-ujvunri4frsecj2k
Tags: 2.99.0-0ubuntu1
* New upstream release.
  - Verify timestamp to avoid invalid auth failures (LP: #692597)
  - Files in new UDFs not uploaded due to filtering (LP: #869920)
* debian/patches:
  - Remove upstreamed patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# with this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
"""Test for the pyinotify implementation on windows."""
19
19
 
 
20
from twisted.internet import defer
20
21
from twisted.trial.unittest import TestCase
21
22
 
22
23
from ubuntuone.platform.windows.pyinotify import RawOutputFormat
24
25
class RawOutputFormatTest(TestCase):
25
26
    """Test te formatter to ensure it can deal with mbcs."""
26
27
 
 
28
    @defer.inlineCallbacks
27
29
    def setUp(self):
28
 
        """Set tests."""
 
30
        yield super(RawOutputFormatTest, self).setUp()
29
31
        self.format = {'normal': 'normal'}
30
32
        self.formatter = RawOutputFormat(self.format)
31
33