Merge pull request #561 from tahoe-lafs/2985.eliot-logs-are-written-test

Fix test about Eliot logs being written

Fixes: ticket:2985
This commit is contained in:
Jean-Paul Calderone 2019-03-08 07:44:54 -05:00 committed by GitHub
commit 2e96c62632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -12,9 +12,13 @@ import pytest_twisted
# tests converted from check_magicfolder_smoke.py
# see "conftest.py" for the fixtures (e.g. "magic_folder")
def test_eliot_logs_are_written(temp_dir):
def test_eliot_logs_are_written(alice, bob, temp_dir):
# The integration test configuration arranges for this logging
# configuration. Verify it actually does what we want.
#
# The alice and bob arguments looks unused but they actually tell pytest
# to set up all the magic-folder stuff. The assertions here are about
# side-effects of that setup.
assert exists(join(temp_dir, "alice", "logs", "eliot.json"))
assert exists(join(temp_dir, "bob", "logs", "eliot.json"))

0
newsfragments/2985.minor Normal file
View File