mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 13:57:51 +00:00
docs
This commit is contained in:
parent
9a62b1f93f
commit
a9fe12063a
@ -1,3 +1,13 @@
|
||||
"""
|
||||
Classes which directly represent various kinds of Tahoe processes
|
||||
that co-operate to for "a Grid".
|
||||
|
||||
These methods and objects are used by conftest.py fixtures but may
|
||||
also be used as direct helpers for tests that don't want to (or can't)
|
||||
rely on 'the' global grid as provided by fixtures like 'alice' or
|
||||
'storage_servers'.
|
||||
"""
|
||||
|
||||
from os import mkdir, listdir, environ
|
||||
from os.path import join, exists
|
||||
from tempfile import mkdtemp, mktemp
|
||||
@ -33,6 +43,15 @@ import attr
|
||||
import pytest_twisted
|
||||
|
||||
|
||||
# further directions:
|
||||
# - "Grid" is unused, basically -- tie into the rest?
|
||||
# - could make a Grid instance mandatory for create_* calls
|
||||
# - could instead make create_* calls methods of Grid
|
||||
# - Bring more 'util' or 'conftest' code into here
|
||||
# - stop()/start()/restart() methods on StorageServer etc
|
||||
# - more-complex stuff like config changes (which imply a restart too)?
|
||||
|
||||
|
||||
@attr.s
|
||||
class FlogGatherer(object):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user