mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 01:38:55 +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
23 lines
692 B
Python
23 lines
692 B
Python
# So these dummy tests run first and instantiate the pre-requisites
|
|
# first (e.g. introducer) and therefore print "something" on the
|
|
# console as we go (a . or the test-name in "-v"/verbose mode)
|
|
|
|
# You can safely skip any of these tests, it'll just appear to "take
|
|
# longer" to start the first test as the fixtures get built
|
|
|
|
|
|
def test_create_flogger(flog_gatherer):
|
|
print("Created flog_gatherer")
|
|
|
|
|
|
def test_create_introducer(introducer):
|
|
print("Created introducer")
|
|
|
|
|
|
def test_create_storage(storage_nodes):
|
|
print("Created {} storage nodes".format(len(storage_nodes)))
|
|
|
|
|
|
def test_create_alice_bob_magicfolder(magic_folder):
|
|
print("Alice and Bob have paired magic-folders")
|