mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-22 12:28:05 +00:00
Make test less fragile
This commit is contained in:
parent
5889b80332
commit
3d753fef93
@ -64,7 +64,7 @@ from twisted.internet.task import deferLater
|
||||
from twisted.internet import reactor
|
||||
|
||||
from ..util.eliotutil import (
|
||||
eliot_json_encoder,
|
||||
BytesEliotJSONEncoder,
|
||||
log_call_deferred,
|
||||
_parse_destination_description,
|
||||
_EliotLogging,
|
||||
@ -188,8 +188,8 @@ class ParseDestinationDescriptionTests(SyncTestCase):
|
||||
"""
|
||||
reactor = object()
|
||||
self.assertThat(
|
||||
_parse_destination_description("file:-")(reactor),
|
||||
Equals(FileDestination(stdout, encoder=eliot_json_encoder)),
|
||||
_parse_destination_description("file:-")(reactor).file,
|
||||
Equals(stdout),
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user