mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Take the necessary fixtures
This commit is contained in:
parent
a55506f5bb
commit
c42e5b10c6
@ -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"))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user