Assert against the correct path

magic_folder contains the magic folder paths, of course.
The Tahoe-LAFS node directories are below the temp_dir.
This commit is contained in:
Jean-Paul Calderone 2019-03-04 10:35:34 -05:00
parent e84e815c67
commit 9e4fa3972e

View File

@ -12,12 +12,11 @@ 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(magic_folder):
alice_dir, bob_dir = magic_folder
def test_eliot_logs_are_written(temp_dir):
# The integration test configuration arranges for this logging
# configuration. Verify it actually does what we want.
assert exists(join(alice_dir, "logs", "eliot.json"))
assert exists(join(bob_dir, "logs", "eliot.json"))
assert exists(join(temp_dir, "alice", "logs", "eliot.json"))
assert exists(join(temp_dir, "bob", "logs", "eliot.json"))
def test_alice_writes_bob_receives(magic_folder):