Commit Graph

13853 Commits

Author SHA1 Message Date
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
b200075246 whitespace 2020-12-16 16:23:05 -05:00
98000c2b66 re-implement test_unsigned_announcement without mock
and to make assertions about public behavior instead of private implementation
details
2020-12-16 16:20:38 -05:00
b2c9296f6b Use ObserverList instead of an ad hoc reimplementation 2020-12-16 16:20:00 -05:00
60e401ca69 Make ObserverList synchronous, reentrant, and exception safe
with tests
2020-12-16 16:19:33 -05:00
3513e9b4fc news fragment 2020-12-16 15:25:11 -05:00
83ebaef86c Stop mocking safe_load
The comment implies this will cause something to break on some platform.
Let's find out.
2020-12-16 15:24:33 -05:00
Jean-Paul Calderone
d19b1cfd68
Merge pull request #933 from LeastAuthority/3533.test_root-no-mock
Remove Mock from test_root

Fixes: ticket:3533
2020-12-16 15:15:17 -05:00
Itamar Turner-Trauring
b5f2afe39c WIP porting test_status.py. 2020-12-16 14:13:46 -05:00
Itamar Turner-Trauring
67c0a4ac84 Port another test module to Python 3. 2020-12-16 13:53:49 -05:00
8bb4d10d7f news fragment 2020-12-16 12:28:29 -05:00
9f28ccb2a4 Move the last three mock-using tests to test_tor_provider
where they can be rewritten later
2020-12-16 12:07:54 -05:00
3d82ca0d25 Use boring old dependency injection to replace mocks in this test 2020-12-16 11:50:35 -05:00
3d564f97d5 Switch away from mock in a few more simple cases in test_connections.py 2020-12-16 11:48:33 -05:00
468895c74d Duplicate of allmydata.test.test_tor_provider.Provider.test_handler_control_endpoint 2020-12-16 11:28:36 -05:00
7eb9f2ce54 Moved into allmydata.test.test_i2p_provider
This follows the local convention of using mock even though I'm trying to get
rid of mock.  This is because it keeps the test_i2p_provider suite consistent
which means it won't make removing mock from test_i2p_provider later much
harder and lets me avoid doing that work now.
2020-12-16 11:20:45 -05:00
Itamar Turner-Trauring
61c76902ca Port to Python 3. 2020-12-16 11:16:34 -05:00
8271dbf3e6 Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_configdir 2020-12-16 11:15:51 -05:00