diff options
| author | Thomi Richards <thomi.richards@canonical.com> | 2013-12-02 18:52:10 +1300 |
|---|---|---|
| committer | Thomi Richards <thomi.richards@canonical.com> | 2013-12-02 18:52:10 +1300 |
| commit | 59175ec6b495e330b709ea137f6dc7ce4caefb68 (patch) | |
| tree | 591f11564c8ae42a9f538dab46b90c24e9adee24 /python/subunit/tests | |
| parent | 51b0b53c3854f5bb1c2c024cc3176aaad87727df (diff) | |
| download | subunit-59175ec6b495e330b709ea137f6dc7ce4caefb68.tar.gz | |
Fix failing tests.
Diffstat (limited to 'python/subunit/tests')
| -rw-r--r-- | python/subunit/tests/test_output_filter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/tests/test_output_filter.py b/python/subunit/tests/test_output_filter.py index c6caada..f53b37a 100644 --- a/python/subunit/tests/test_output_filter.py +++ b/python/subunit/tests/test_output_filter.py @@ -513,7 +513,7 @@ class FileDataTests(TestCase): def test_files_have_timestamp(self): _dummy_timestamp = datetime.datetime(2013, 1, 1, 0, 0, 0, 0, UTC) - self.patch(_o, 'create_timestamp', lambda: self._dummy_timestamp) + self.patch(_o, 'create_timestamp', lambda: _dummy_timestamp) with temp_file_contents(b"Hello") as f: specified_file_name = self.getUniqueString() @@ -525,7 +525,7 @@ class FileDataTests(TestCase): self.assertThat( result._events, MatchesListwise([ - MatchesStatusCall(file_bytes=b'Hello', timestamp=self._dummy_timestamp), + MatchesStatusCall(file_bytes=b'Hello', timestamp=_dummy_timestamp), ]) ) |
