Commit Graph

14170 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
99b02a9310
Merge pull request #938 from tahoe-lafs/3565.web-tests-python-3-part-1
Port web tests to Python 3, part 1

Fixes ticket:3565
2020-12-18 16:29:02 -05:00
Itamar Turner-Trauring
2ec7d52d09 Some progress towards passing tests on Python 3. 2020-12-18 16:12:32 -05:00
Itamar Turner-Trauring
c71acf93fd Bytes, alas. 2020-12-18 16:10:23 -05:00
Itamar Turner-Trauring
5315d48355 Merge remote-tracking branch 'origin/master' into 3565.web-tests-python-3-part-1 2020-12-18 15:43:36 -05:00
Itamar Turner-Trauring
f964ae1782 Docstrings. 2020-12-18 15:43:27 -05:00
Itamar Turner-Trauring
28e8369684
Merge pull request #931 from tahoe-lafs/3552.test_system-python-3
Port test_system to Python 3

Fixes ticket:3552
2020-12-18 14:00:57 -05:00
Itamar Turner-Trauring
50a794a911 More accurate docstring. 2020-12-18 11:34:08 -05:00
Itamar Turner-Trauring
865f3fd7d0 Improve the docstring. 2020-12-18 11:33:24 -05:00
Itamar Turner-Trauring
721b02b262 Use the function I specifically wrote for this! 2020-12-18 11:29:56 -05:00
Itamar Turner-Trauring
8f4a0379ea Correct examples. 2020-12-18 11:26:10 -05:00
Itamar Turner-Trauring
b24a9f7083 Trying to get test_grid working on Python 3. 2020-12-18 11:21:04 -05:00
602a06e5cb Extract Parameters type in scripts.types_. 2020-12-18 11:14:07 -05:00
189608e113 Remove GENERATED_FILES, unused 2020-12-18 11:07:30 -05:00
c2d2aba83f Add reference to ticket. 2020-12-18 11:05:55 -05:00
0e248cb4ef Declare signing key as required in introducer client publish. 2020-12-18 10:59:53 -05:00
090031cbfc Remove confirm_share_allocation from interface (unused). 2020-12-18 10:55:20 -05:00
d051791e95 Add reference to ticket. 2020-12-18 10:53:24 -05:00
ea0c10ef83 Remove set_size, unused 2020-12-18 10:51:56 -05:00
efd0aef284 Indicate that unichr is Python 2 only. 2020-12-18 10:36:43 -05:00
51b0b201b4 Expand comment to provide more context. 2020-12-18 10:33:30 -05:00
99da74fffb Change comment to clarify that it's the implementation that's incomplete. 2020-12-18 09:58:56 -05:00
950ca18932 Ignores no longer needed. 2020-12-18 09:23:27 -05:00
29d54aee78 What does this setting do? 2020-12-17 13:08:33 -05:00
ad1e38eea4 Can we make codecov wait a while? 2020-12-17 12:40:20 -05:00
0569972212 news fragment 2020-12-17 12:40:12 -05:00
8e6c52b61e pre-assign a listening socket to the main tub to avoid the error 2020-12-17 10:20:22 -05:00
f0359f106c news fragment 2020-12-17 10:20:17 -05:00
Itamar Turner-Trauring
48b9ffe2a5 News file. 2020-12-17 09:55:48 -05:00
Itamar Turner-Trauring
6e12cce1e4 Port to Python 3. 2020-12-17 09:55:35 -05:00
Itamar Turner-Trauring
3ac64e42f7 Web test_status tests pass on Python 3. 2020-12-17 09:54:04 -05:00
Itamar Turner-Trauring
9b59e7e245 Merge remote-tracking branch 'origin/3552.test_system-python-3' into 3565.web-tests-python-3-part-1 2020-12-17 09:51:52 -05:00
Itamar Turner-Trauring
33392502d3 server IDs/node IDS should be bytes. 2020-12-17 09:50:39 -05:00
Itamar Turner-Trauring
26297c296d
Merge branch 'master' into 3552.test_system-python-3 2020-12-17 09:42:34 -05:00
6e152daf05 Put the pidfile in the right place
Seems we relied on the chdir for that to happen, previously.
2020-12-17 09:37:45 -05:00
70305131f1 docstrings 2020-12-17 09:22:43 -05:00
f88061e31c docstring 2020-12-17 09:16:05 -05:00
a363c8de67 Fix test_non_numeric_pid (and put it in a better place too) 2020-12-17 09:11:29 -05:00
bb495b6dc5 unused imports 2020-12-16 21:26:59 -05:00
240d5d1164 Remove react monkey patching by supplying an alternate reactor
Let react run and do its thing.  This gives us an even nicer way to check the
exit code.
2020-12-16 21:25:50 -05:00
faf8da82dd Get rid of the sys.exit monkey-patch
It's just an exception.  Let it get logged and then check after.
2020-12-16 21:20:16 -05:00
a04a915628 Parameterize the Options class so we can synthesize an unhandled exception 2020-12-16 21:15:24 -05:00
2746eb9ae1 Fix the broken fake_react by not using the argv feature 2020-12-16 20:58:27 -05:00
a4b0b4a01a Parameterize stderr to allmydata.scripts.runner.run 2020-12-16 20:55:00 -05:00
1f229ce9f6 All you have to do to drop it is not save it in the first place
Also it would have been dropped as soon as this function returned, anyway.
2020-12-16 20:51:11 -05:00
d5bff458b6 Parameterize argv to allmydata.scripts.runner.run 2020-12-16 20:51:01 -05:00
96b54e8f62 news fragment 2020-12-16 20:50:08 -05:00
0ffbc7870e Okay, let KeyboardInterrupt through 2020-12-16 20:32:04 -05:00
895ba55cf7 Python 3 compatibility 2020-12-16 18:17:14 -05:00
a223f6bb60 More reliably corrupt the signature 2020-12-16 17:31:06 -05:00
4117beba6a remove unused import
yaaay
2020-12-16 16:25:51 -05:00