Jean-Paul Calderone
|
6f1f30e4bf
|
pyflakes cleanups
|
2020-02-13 12:15:09 -05:00 |
|
Jean-Paul Calderone
|
ef73e18f3d
|
Remove the greater part of the implementation
|
2020-02-13 10:43:50 -05:00 |
|
Jean-Paul Calderone
|
a55719cdc4
|
Raise UnknownConfigError when a server is configured with an unknown storage plugin
|
2019-10-16 19:56:29 -04:00 |
|
Jean-Paul Calderone
|
9940beaae1
|
Thread a _Config all the way down
|
2019-08-19 16:09:26 -04:00 |
|
Jean-Paul Calderone
|
21bf7fc25c
|
Merge remote-tracking branch 'origin/master' into integration/storage-economics
|
2019-08-16 15:39:31 -04:00 |
|
Jean-Paul Calderone
|
13409a2449
|
Move the remaining package checking machinery to its own module.
|
2019-08-13 15:11:01 -04:00 |
|
Jean-Paul Calderone
|
9842447a07
|
Don't start or announce anonymous access if config says not to
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
6fd27097a9
|
Factor out some repetition of this dummy value
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
853cf62530
|
Allow [storage]anonymous through the validator
And provide a helpful accessor for reading it
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
c752fc76f1
|
pass the new config to StorageFarmBroker
|
2019-08-03 06:39:31 -04:00 |
|
Jean-Paul Calderone
|
e8b38d8cd6
|
move some testing helpers into the common module
|
2019-08-03 06:39:27 -04:00 |
|
Jean-Paul Calderone
|
07bf8a3b8c
|
Change this helper to reflect the fact that old announcements are irrelevant
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
624591e412
|
Change the tests to match against the announcement we need
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
251eda0b80
|
rename introducer_factory parameter to be private
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
8516459fa3
|
Python 3 syntax compatibility
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
58db131787
|
remove unused imports
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
1c68157c1f
|
verify behavior if there is a poorly behaved plugin
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
23e1631259
|
switch from node to client for config loading
apparently clients are the things with storage
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
f606beb065
|
Test and support plugins without any configuration
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
e2982c0129
|
Support multiple plugins
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
646cd452b9
|
Add tests for announcements for plugins
And a basic implementation
|
2019-08-03 06:19:01 -04:00 |
|
Jean-Paul Calderone
|
25287870ee
|
Add a tool for matching the node key in the announcement
And use it in the recently added test
|
2019-08-03 06:18:55 -04:00 |
|
Jean-Paul Calderone
|
212f96dfe7
|
Baseline tests for anonymous storage server announcements
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
f19b94a43d
|
remove unused import
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
b737c6f5c5
|
Use the client config helper to read/test client config
|
2019-08-03 05:34:21 -04:00 |
|
Jean-Paul Calderone
|
f5fc38e8a7
|
remove unused locals
|
2019-06-21 08:17:53 -04:00 |
|
Jean-Paul Calderone
|
bbb1ebdd26
|
Make some assertions about the logging
|
2019-06-13 12:23:41 -04:00 |
|
Jean-Paul Calderone
|
b040a22ca3
|
Use the TempDir fixture
|
2019-06-13 12:22:53 -04:00 |
|
Jean-Paul Calderone
|
dd0cda8a41
|
Add a test for a bogus announcement
|
2019-06-12 17:05:14 -04:00 |
|
Jean-Paul Calderone
|
92724449a0
|
unicode!
|
2019-06-12 17:03:24 -04:00 |
|
Jean-Paul Calderone
|
225aec912a
|
refactor the test to use a servers.yaml fixture
|
2019-06-12 17:03:09 -04:00 |
|
Jean-Paul Calderone
|
b604d08463
|
Add a test for the success case
|
2019-06-12 16:47:25 -04:00 |
|
Jean-Paul Calderone
|
a4a73a20a2
|
Fix incorrect assertion
|
2019-03-28 16:18:43 -04:00 |
|
meejah
|
72f17a3834
|
better cleanup
|
2018-09-10 21:58:28 -06:00 |
|
meejah
|
d0141b2f95
|
better docstring from exarkun
|
2018-09-10 21:58:28 -06:00 |
|
meejah
|
edb581b434
|
better docstring from exarkun
|
2018-09-10 21:58:28 -06:00 |
|
meejah
|
507c2db649
|
better utest docstring, cleanup
|
2018-09-10 21:58:28 -06:00 |
|
meejah
|
2e2bdf1ea1
|
test for EnvironmentError that's not ENOENT
|
2018-09-10 21:58:28 -06:00 |
|
meejah
|
714b0887dc
|
more docstrings
|
2018-09-10 21:58:27 -06:00 |
|
meejah
|
7632504373
|
create_client is async
|
2018-09-10 21:58:27 -06:00 |
|
meejah
|
767f4ddd5d
|
reorder args to match other method
|
2018-09-10 21:58:27 -06:00 |
|
meejah
|
283be23e3a
|
basedir fixup, more tests
|
2018-09-10 21:58:27 -06:00 |
|
meejah
|
f0c3db0e5a
|
pyflakes
|
2018-09-10 21:58:27 -06:00 |
|
meejah
|
d1a83e9be0
|
more tests work
|
2018-09-10 21:58:27 -06:00 |
|
meejah
|
329ef1256a
|
refactor create_client to be async (works to run, some unit-test fails still)
|
2018-09-10 21:58:27 -06:00 |
|
meejah
|
d478cf3831
|
add some docstrings, fix comments
|
2018-08-25 02:10:44 -06:00 |
|
meejah
|
5000787c18
|
flake8
|
2018-08-25 02:10:44 -06:00 |
|
meejah
|
abd7b638b8
|
basic stfpd setup test
|
2018-08-25 02:10:44 -06:00 |
|
meejah
|
6c388b9d58
|
test for authtoken API
|
2018-08-25 02:10:44 -06:00 |
|
meejah
|
4aec12a92f
|
whitespace on long lines
|
2018-08-17 15:53:59 -06:00 |
|