mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 11:24:25 +00:00
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:
commit
2e96c62632
@ -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
0
newsfragments/2985.minor
Normal file
Loading…
x
Reference in New Issue
Block a user