Jean-Paul Calderone
|
53aa434d77
|
Add a helper to make a deep copy of a ConfigParser
This will help avoid unintentional side-effects
|
2020-11-18 13:01:08 -05:00 |
|
Jean-Paul Calderone
|
84647e25b7
|
Refine the ConfigParser generator
Limit the characters used in the section and item name strategies.
ConfigParser doesn't allow all characters in all places.
|
2020-11-18 12:59:23 -05:00 |
|
Jean-Paul Calderone
|
021615bdff
|
Some further test_configutil improvements
|
2020-11-18 12:44:52 -05:00 |
|
Jean-Paul Calderone
|
34714d5f6b
|
Add everything and nothing config validation helpers
|
2020-11-18 12:42:31 -05:00 |
|
Jean-Paul Calderone
|
e60c643b5f
|
Make configutil.write_config atomic and also make it take a FilePath
|
2020-11-18 10:57:38 -05:00 |
|
Itamar Turner-Trauring
|
feb85f4c4a
|
Always use native strings as keys.
|
2020-11-17 13:15:57 -05:00 |
|
Itamar Turner-Trauring
|
bb7ed3afc9
|
Fix the bug.
|
2020-11-17 11:25:24 -05:00 |
|
Jean-Paul Calderone
|
c9f7ce8db5
|
write introducers.yaml instead of [client]introducer.furl
|
2020-11-16 15:01:52 -05:00 |
|
Jean-Paul Calderone
|
302b5cb01f
|
look for the introducer furl via a more structured interface
|
2020-11-16 15:01:34 -05:00 |
|
Jean-Paul Calderone
|
0fd354396f
|
note this is for deprecated functionality
|
2020-11-16 15:01:21 -05:00 |
|
Jean-Paul Calderone
|
69b8262f6b
|
use a different .furl item since introducer.furl will go away
|
2020-11-16 15:01:05 -05:00 |
|
Jean-Paul Calderone
|
1946ee5023
|
note this is for deprecated functionality
|
2020-11-16 15:00:49 -05:00 |
|
Jean-Paul Calderone
|
10600ef5ec
|
Move write_introducer somewhere it can be used more widely
|
2020-11-16 14:59:42 -05:00 |
|
Jean-Paul Calderone
|
d27c25a26f
|
make sure we put text into yaml
|
2020-11-14 18:17:34 -05:00 |
|
Jean-Paul Calderone
|
7b2d76c7ec
|
Another effort to make this simultaneously Py2/Py3 friendly
|
2020-11-14 16:12:07 -05:00 |
|
Jean-Paul Calderone
|
22973e6951
|
Attempt to make Python 3 happier
|
2020-11-14 12:36:22 -05:00 |
|
Jean-Paul Calderone
|
18e327417c
|
Get [client]introducer.furl out of test_system
|
2020-11-14 11:44:28 -05:00 |
|
Jean-Paul Calderone
|
0f4e34c41d
|
Take [client]introducer.furl out of the UseNode fixture
|
2020-11-14 11:44:28 -05:00 |
|
Jean-Paul Calderone
|
b6bebc514a
|
Remove [client]introducer.furl from test_node
|
2020-11-14 11:44:28 -05:00 |
|
Jean-Paul Calderone
|
b181b577e8
|
Remove [client]introducer.furl from test_multi_introducers (mostly)
Leave in this one test to demonstrate the deprecated functionality still
works, until we delete it entirely.
|
2020-11-14 11:44:28 -05:00 |
|
Jean-Paul Calderone
|
fabcc079c5
|
we're not testing the yaml library
|
2020-11-14 11:44:28 -05:00 |
|
Jean-Paul Calderone
|
0664416f65
|
Remove [client]introducer.furl from test_introducer
|
2020-11-14 11:44:26 -05:00 |
|
Jean-Paul Calderone
|
b202f81fd1
|
move config helper to shared location
|
2020-11-14 10:23:07 -05:00 |
|
Jean-Paul Calderone
|
25666ee49c
|
Get rid of [client]introducer.furl from test_client
|
2020-11-14 10:02:19 -05:00 |
|
Itamar Turner-Trauring
|
7c9b8542c1
|
Fix flake.
|
2020-11-09 15:12:38 -05:00 |
|
Itamar Turner-Trauring
|
fcc491bf3b
|
Port to Python 3.
|
2020-11-09 15:08:56 -05:00 |
|
Itamar Turner-Trauring
|
d8c1b2fba7
|
Port to Python 3.
|
2020-11-09 15:02:33 -05:00 |
|
Itamar Turner-Trauring
|
6b61c06882
|
All tests pass on Python 3.
|
2020-11-09 15:00:55 -05:00 |
|
Itamar Turner-Trauring
|
d31667d58c
|
Ported to Python 3.
|
2020-11-09 14:15:40 -05:00 |
|
Itamar Turner-Trauring
|
2b9e269d3a
|
Tests pass on Python 3.
|
2020-11-09 14:13:14 -05:00 |
|
Itamar Turner-Trauring
|
da6dfcd86d
|
Ported to Python 3.
|
2020-11-09 14:00:11 -05:00 |
|
Itamar Turner-Trauring
|
b2e72ef562
|
Port to Python 3.
|
2020-11-09 13:55:28 -05:00 |
|
Itamar Turner-Trauring
|
3d5d46fe7c
|
Port to Python 3.
|
2020-11-09 13:48:22 -05:00 |
|
Itamar Turner-Trauring
|
0e27e7eba1
|
Merge branch '3496.mutable-tests-python-3-part-3' into 3500.mutable-tests-python-3
|
2020-11-09 13:46:19 -05:00 |
|
Chad Whitacre
|
fe07078859
|
Turn web service back on in test for Python 3
|
2020-11-06 19:44:08 -05:00 |
|
Itamar Turner-Trauring
|
9dd0faf528
|
Ported to Python 3.
|
2020-11-06 11:41:34 -05:00 |
|
Itamar Turner-Trauring
|
55ec994450
|
Tests pass on Python 3.
|
2020-11-06 11:40:34 -05:00 |
|
Itamar Turner-Trauring
|
2e6f8ca10b
|
Ported to Python 3.
|
2020-11-06 11:32:14 -05:00 |
|
Itamar Turner-Trauring
|
55623d0175
|
Ported to Python 3.
|
2020-11-06 11:27:59 -05:00 |
|
Itamar Turner-Trauring
|
dfdaac7474
|
Ported to Python 3.
|
2020-11-06 11:25:48 -05:00 |
|
Itamar Turner-Trauring
|
bcc6d91444
|
Tests pass on Python 3.
|
2020-11-06 11:24:07 -05:00 |
|
Itamar Turner-Trauring
|
6017b11910
|
Merge branch '3475.mutable-tests-part-2-python-3' into 3496.mutable-tests-python-3-part-3
|
2020-11-06 11:20:54 -05:00 |
|
Itamar Turner-Trauring
|
eab228f22a
|
Merge pull request #887 from tahoe-lafs/3465.storage_client-python-3-take-2
Port storage_client to Python 3
Fixes ticket:3465
|
2020-11-06 11:18:31 -05:00 |
|
Itamar Turner-Trauring
|
84a33625bd
|
Port to Python 3.
|
2020-11-06 10:21:33 -05:00 |
|
Itamar Turner-Trauring
|
31ee2e18f3
|
Tests pass on Python 3.
|
2020-11-06 10:20:18 -05:00 |
|
Itamar Turner-Trauring
|
836d41a92d
|
Ported to Python 3.
|
2020-11-06 10:12:56 -05:00 |
|
Itamar Turner-Trauring
|
e4734468e5
|
Ported to Python 3.
|
2020-11-06 10:11:09 -05:00 |
|
Itamar Turner-Trauring
|
95df57382f
|
Tests pass on Python 3.
|
2020-11-06 10:09:11 -05:00 |
|
Itamar Turner-Trauring
|
e17be38d69
|
Start porting test infrastructure to Python 3 compatibility.
|
2020-11-06 10:04:46 -05:00 |
|
Itamar Turner-Trauring
|
cd01d4dafa
|
Test for Python 2 BytesKeyDict and UnicodeKeyDict behavior.
|
2020-11-05 10:15:38 -05:00 |
|
Itamar Turner-Trauring
|
2c8a91fb6e
|
Merge pull request #883 from tahoe-lafs/3493.node-to-python-3
Port allmydata.node to python 3
Fixes ticket:3493
|
2020-11-04 13:44:21 -05:00 |
|
Itamar Turner-Trauring
|
0a6321cc9a
|
Tests and additional check for typed key dicts.
|
2020-11-04 13:36:08 -05:00 |
|
Itamar Turner-Trauring
|
2b557287c8
|
Lint fix.
|
2020-11-04 13:21:13 -05:00 |
|
Itamar Turner-Trauring
|
d407cb5005
|
Port to Python 3.
|
2020-11-04 13:19:16 -05:00 |
|
Itamar Turner-Trauring
|
f6eb4aef57
|
Work consistently across Python 2 and 3.
|
2020-11-03 10:41:13 -05:00 |
|
Itamar Turner-Trauring
|
60992174ff
|
twisted.web expects bytes.
|
2020-11-03 10:40:53 -05:00 |
|
Itamar Turner-Trauring
|
672c440091
|
Better error reporting.
|
2020-11-03 10:40:41 -05:00 |
|
Itamar Turner-Trauring
|
e3a0f61dca
|
More passing tests.
|
2020-11-03 10:04:24 -05:00 |
|
Itamar Turner-Trauring
|
35c304cd82
|
Workaround for Eliot flaw.
|
2020-11-03 10:04:16 -05:00 |
|
Jean-Paul Calderone
|
540c70f835
|
Merge pull request #871 from exarkun/2928.remote-allocate_tcp_port-test_node.py
Remove `allocate_tcp_port` from test_node.py
Fixes: ticket:2928
|
2020-10-31 19:24:09 -04:00 |
|
Jean-Paul Calderone
|
7ad55e0fba
|
Merge remote-tracking branch 'origin/master' into 2928.remote-allocate_tcp_port-test_node.py
|
2020-10-31 11:42:01 -04:00 |
|
Jean-Paul Calderone
|
651c42ac0f
|
remove unused import
|
2020-10-31 11:41:20 -04:00 |
|
Jean-Paul Calderone
|
4d469d7b64
|
The test is faster now, leave the max_examples setting alone
|
2020-10-30 21:05:46 -04:00 |
|
Itamar Turner-Trauring
|
92a4a5afcc
|
Closer to more passing tests, maybe.
|
2020-10-30 15:04:00 -04:00 |
|
Itamar Turner-Trauring
|
45a2fcc3f2
|
Fix for Python 2.
|
2020-10-30 14:49:25 -04:00 |
|
Itamar Turner-Trauring
|
e79d1adeea
|
Fix lint.
|
2020-10-30 14:35:09 -04:00 |
|
Itamar Turner-Trauring
|
d52f6747f6
|
Some progress towards passing tests.
|
2020-10-30 14:21:16 -04:00 |
|
Itamar Turner-Trauring
|
6264cf15b1
|
Fix some failing tests.
|
2020-10-30 14:08:09 -04:00 |
|
Chad Whitacre
|
266b707d25
|
Merge pull request #861 from tahoe-lafs/3474.easy-ports
Port some easy files to Python 3
|
2020-10-30 13:33:34 -04:00 |
|
Itamar Turner-Trauring
|
468beb05f6
|
Port to Python 3.
|
2020-10-29 14:09:18 -04:00 |
|
Itamar Turner-Trauring
|
dce368016b
|
Duplicates test coverage in test_connections.
|
2020-10-29 14:01:05 -04:00 |
|
Itamar Turner-Trauring
|
c3248524f0
|
Drop support for '\#', never was used by anything as far as we know.
|
2020-10-29 13:51:29 -04:00 |
|
Itamar Turner-Trauring
|
0cf6ca86fb
|
Improve test coverage.
|
2020-10-29 13:36:31 -04:00 |
|
Chad Whitacre
|
a10c2606f4
|
Merge pull request #868 from tahoe-lafs/3468.offloaded-test-coverage
More test coverage for the upload helper
|
2020-10-28 15:20:34 -04:00 |
|
Chad Whitacre
|
d04b6c103a
|
Pick off a couple of easy ports
|
2020-10-28 14:57:10 -04:00 |
|
Itamar Turner-Trauring
|
20a64d5767
|
Test new fileutil behavior.
|
2020-10-27 14:24:23 -04:00 |
|
Itamar Turner-Trauring
|
f1b281123d
|
Fix tests.
|
2020-10-27 14:24:20 -04:00 |
|
Itamar Turner-Trauring
|
bcb6822171
|
Merge branch '3485.backported-configparser-for-py-2' into 3479.test-node-python-3
|
2020-10-27 14:06:35 -04:00 |
|
Itamar Turner-Trauring
|
b62bd13bee
|
Merge remote-tracking branch 'origin/master' into 3479.test-node-python-3
|
2020-10-27 14:02:27 -04:00 |
|
Itamar Turner-Trauring
|
c76afc9ece
|
Try to fix some failing unit tests in ASCII locale.
|
2020-10-27 08:54:28 -04:00 |
|
Itamar Turner-Trauring
|
d5333ae9f9
|
Merge remote-tracking branch 'origin/master' into 3485.backported-configparser-for-py-2
|
2020-10-26 16:53:19 -04:00 |
|
Itamar Turner-Trauring
|
4dc1adc817
|
Some progress towards passing Python 2 tests.
|
2020-10-26 16:37:00 -04:00 |
|
Itamar Turner-Trauring
|
76697c8c1b
|
It's already unicode.
|
2020-10-26 14:33:59 -04:00 |
|
Jean-Paul Calderone
|
25ee76104a
|
Merge pull request #872 from tahoe-lafs/3486.netifaces
Switch to netifaces
Fixes: ticket:3486
|
2020-10-26 11:55:31 -04:00 |
|
Chad Whitacre
|
725291c2aa
|
Merge branch 'master' into 3468.offloaded-test-coverage
|
2020-10-23 12:08:48 -04:00 |
|
Chad Whitacre
|
f0657aec69
|
Merge pull request #853 from tahoe-lafs/3346.port-immutable-offloaded
Port immutable.offloaded to Python 3
|
2020-10-23 12:05:20 -04:00 |
|
Jean-Paul Calderone
|
96c848b2ad
|
flakes
|
2020-10-23 09:50:31 -04:00 |
|
Jean-Paul Calderone
|
c60d62d858
|
Direct test for the new implementation
|
2020-10-23 09:32:13 -04:00 |
|
Jean-Paul Calderone
|
931bdef2a2
|
Get rid of the old implementation and related unused code
Also put in the new implementation, though now it needs tests because *there
were no direct tests for the old one*.
|
2020-10-23 09:23:16 -04:00 |
|
Jean-Paul Calderone
|
a5e889f707
|
flakes
|
2020-10-22 15:31:39 -04:00 |
|
Jean-Paul Calderone
|
606617cbfd
|
clean up the tub location tests a bit
|
2020-10-22 14:41:28 -04:00 |
|
Jean-Paul Calderone
|
ea257681bb
|
Stop starting the services so that we stop binding the ports
|
2020-10-22 14:36:49 -04:00 |
|
Jean-Paul Calderone
|
8e41c2d3e1
|
whitespace
|
2020-10-22 14:36:45 -04:00 |
|
Jean-Paul Calderone
|
83dbcdb3bf
|
Switch away from EmptyNode since it's gone from master
|
2020-10-22 14:31:33 -04:00 |
|
Jean-Paul Calderone
|
af5531d81b
|
Merge remote-tracking branch 'origin/master' into 2928.remote-allocate_tcp_port-test_node.py
|
2020-10-22 14:31:21 -04:00 |
|
Jean-Paul Calderone
|
612cbb583a
|
combine common_web and common_tweb now that there is no nevow renderer
|
2020-10-22 07:13:13 -04:00 |
|
Jean-Paul Calderone
|
0f574dc019
|
docstring for the helper
|
2020-10-21 14:47:56 -04:00 |
|
Jean-Paul Calderone
|
d1599a924e
|
Test and fix cap censoring in HTTP access logs
|
2020-10-21 14:42:30 -04:00 |
|
Jean-Paul Calderone
|
b2999d283f
|
Somewhat clarify this test
|
2020-10-21 12:37:34 -04:00 |
|
Jean-Paul Calderone
|
444c3e6ce4
|
typo fix
|
2020-10-21 12:23:43 -04:00 |
|