mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-18 20:47:54 +00:00
72f17afa76
This introduces a py.test-based integration suite (currently just containing magic-folder end-to-end tests). Also adds a tox environment ("integration") to run them. The test setup is: - a "flogtool gather" instance - an Introducer - five Storage nodes - Alice and Bob client nodes - Alice and Bob have paired magic-folders
16 lines
330 B
Plaintext
16 lines
330 B
Plaintext
Install:
|
|
|
|
pip install -e .[test]
|
|
|
|
run:
|
|
|
|
py.test -s -v integration/
|
|
|
|
If you want to keep the created temp-dir around:
|
|
|
|
py.test --keep-tempdir -v integration/
|
|
|
|
The fixtures also set up a "flogtool gather" process and dump all the
|
|
logs from all the running processes (introducer, 5 storage nodes,
|
|
alice, bob) to a tempfile.
|