mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
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:
parent
e84e815c67
commit
9e4fa3972e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user