mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-22 00:41:53 +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:
@ -12,12 +12,11 @@ import pytest_twisted
|
|||||||
# tests converted from check_magicfolder_smoke.py
|
# tests converted from check_magicfolder_smoke.py
|
||||||
# see "conftest.py" for the fixtures (e.g. "magic_folder")
|
# see "conftest.py" for the fixtures (e.g. "magic_folder")
|
||||||
|
|
||||||
def test_eliot_logs_are_written(magic_folder):
|
def test_eliot_logs_are_written(temp_dir):
|
||||||
alice_dir, bob_dir = magic_folder
|
|
||||||
# The integration test configuration arranges for this logging
|
# The integration test configuration arranges for this logging
|
||||||
# configuration. Verify it actually does what we want.
|
# configuration. Verify it actually does what we want.
|
||||||
assert exists(join(alice_dir, "logs", "eliot.json"))
|
assert exists(join(temp_dir, "alice", "logs", "eliot.json"))
|
||||||
assert exists(join(bob_dir, "logs", "eliot.json"))
|
assert exists(join(temp_dir, "bob", "logs", "eliot.json"))
|
||||||
|
|
||||||
|
|
||||||
def test_alice_writes_bob_receives(magic_folder):
|
def test_alice_writes_bob_receives(magic_folder):
|
||||||
|
Reference in New Issue
Block a user