The logs should be written

This commit is contained in:
Jean-Paul Calderone 2019-03-04 09:43:46 -05:00
parent 64ef320592
commit 1121cdd527

View File

@ -12,6 +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(magic_folder):
alice_dir, bob_dir = magic_folder
# 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"))
def test_alice_writes_bob_receives(magic_folder):
alice_dir, bob_dir = magic_folder