Jean-Paul Calderone
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
Jean-Paul Calderone
3d82ca0d25
Use boring old dependency injection to replace mocks in this test
2020-12-16 11:50:35 -05:00
Jean-Paul Calderone
3d564f97d5
Switch away from mock in a few more simple cases in test_connections.py
2020-12-16 11:48:33 -05:00
Jean-Paul Calderone
468895c74d
Duplicate of allmydata.test.test_tor_provider.Provider.test_handler_control_endpoint
2020-12-16 11:28:36 -05:00
Jean-Paul Calderone
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
Jean-Paul Calderone
8271dbf3e6
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_configdir
2020-12-16 11:15:51 -05:00
Jean-Paul Calderone
81b684b583
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_launch_configdir_executable
2020-12-16 11:15:21 -05:00
Jean-Paul Calderone
6d66be43b9
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_launch_configdir
2020-12-16 11:14:46 -05:00
Jean-Paul Calderone
e84860ef15
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_launch
2020-12-16 11:13:52 -05:00
Jean-Paul Calderone
ececae2ce9
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_sam_endpoint
2020-12-16 11:12:36 -05:00
Jean-Paul Calderone
f7c92bf4c9
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_default
2020-12-16 11:11:22 -05:00
Jean-Paul Calderone
01b31e0680
Duplicate of allmydata.test.test_tor_provider.CreateOnion.test_launch_executable
2020-12-16 11:06:57 -05:00
Jean-Paul Calderone
61778bc799
Duplicate of allmydata.test.test_tor_provider.CreateOnion.test_launch
2020-12-16 11:05:51 -05:00
Jean-Paul Calderone
71ced4c228
Duplicate of allmydata.test.test_tor_provider.Provider.test_handler_socks_endpoint
2020-12-16 11:03:37 -05:00
Jean-Paul Calderone
ec9851f6d8
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_no_i2p
2020-12-16 10:38:13 -05:00
Jean-Paul Calderone
b5d4a2579b
Duplicate of allmydata.test.test_i2p_provider.Provider.test_handler_disabled
2020-12-16 10:37:41 -05:00
Jean-Paul Calderone
17d9988d45
Duplicate of allmydata.test.test_tor_provider.Provider.test_handler_no_tor
2020-12-16 10:34:33 -05:00
Jean-Paul Calderone
d3f8839f1b
Duplicate of allmydata.test.test_tor_provider.Provider.test_handler_disabled
2020-12-16 10:34:07 -05:00
Jean-Paul Calderone
eeebd15c42
Take Mock out of `allmydata.test.test_connections.TCP
`
2020-12-16 09:15:37 -05:00
Jean-Paul Calderone
c4e8262a99
Merge pull request #925 from tahoe-lafs/3532.test_node-no-mock
...
Remove mock from test_node
Fixes: ticket:3532
2020-12-15 14:38:07 -05:00
Jean-Paul Calderone
fee8c55f01
The listenOn is probably the most interesting part
2020-12-15 13:42:20 -05:00
Jean-Paul Calderone
7dbcb4d712
Make set_tub_locations a nicer function
2020-12-15 13:41:01 -05:00
Jean-Paul Calderone
53b782aca4
get the function name right
2020-12-15 13:40:12 -05:00
Jean-Paul Calderone
c2dc2b39da
A better name
2020-12-15 13:34:04 -05:00
Jean-Paul Calderone
be559ab3a5
Turn the XXX into a TODO'd test and a ticket
2020-12-15 13:31:18 -05:00
Jean-Paul Calderone
29f0ae0554
These don't need to be methods. Also docstrings are nice.
2020-12-15 13:30:58 -05:00
Jean-Paul Calderone
7458ea6345
Merge pull request #926 from sajith/3557.GuessedAtParserWarning
...
Fix BeautifulSoup's GuessedAtParserWarning
Fixes: ticket:3557
2020-12-15 07:50:56 -05:00
Jean-Paul Calderone
a97184868d
oops syntax error
...
so what is the good of pre-commit?
2020-12-14 18:40:18 -05:00
Jean-Paul Calderone
5c6e0a2bb4
docstrings
2020-12-14 18:33:28 -05:00
Jean-Paul Calderone
677e62e73e
Return the canned handler
2020-12-14 18:29:50 -05:00
Jean-Paul Calderone
b77f43e360
Simplify handler initialization
2020-12-14 18:27:02 -05:00
Jean-Paul Calderone
49330d1e4a
docstring
2020-12-14 18:25:58 -05:00
Jean-Paul Calderone
4b1c6a2815
Remove these reactor parameters
2020-12-14 17:42:30 -05:00
Jean-Paul Calderone
fcbe56ba0a
docstrings for the Tor and I2P address family implementations
2020-12-14 17:36:35 -05:00
Jean-Paul Calderone
18c18a0e1d
explain the inconsistent naming
2020-12-14 17:33:58 -05:00
Jean-Paul Calderone
b6ea3f47c8
unused imports
2020-12-14 16:58:22 -05:00
Jean-Paul Calderone
01507e4f93
some direct tests for DaemonizeTheRealService
2020-12-14 16:57:20 -05:00
Jean-Paul Calderone
a9bcd6270a
Merge remote-tracking branch 'origin/master' into 3557.GuessedAtParserWarning
2020-12-14 15:41:31 -05:00
Jean-Paul Calderone
035cd8b4ac
Merge remote-tracking branch 'origin/master' into 3532.test_node-no-mock
2020-12-14 15:35:42 -05:00
Jean-Paul Calderone
39628cbb4e
Merge pull request #921 from tahoe-lafs/3550.remove-start-stop-restart-daemonize
...
remove start stop restart daemonize
Fixes: ticket:3550
Fixes: ticket:3523
Fixes: ticket:3524
2020-12-14 14:58:35 -05:00
Jean-Paul Calderone
052d95f182
Merge pull request #930 from LeastAuthority/3558.out-of-org-pr
...
Report coverage for out-of-org PRs properly
Fixes: ticket:3558
2020-12-14 14:14:35 -05:00
Itamar Turner-Trauring
919f31acf3
Merge pull request #923 from tahoe-lafs/3553.nodemaker-python-3
...
Port allmydata.nodemaker and .dirnode to Python 3
Fixes ticket:3553
2020-12-14 13:31:50 -05:00
Jean-Paul Calderone
f1be6a50a2
So embarassing
2020-12-14 11:04:31 -05:00
Jean-Paul Calderone
7be13f5c7f
Try providing an upload token instead
2020-12-14 10:36:45 -05:00
Jean-Paul Calderone
85c1b24729
That didn't work.
...
Using `--slug tahoe-lafs/tahoe-lafs` does not fix the issue. It causes codecov
to fail with `Commit sha does not match Circle build.`
2020-12-14 10:36:24 -05:00
Jean-Paul Calderone
41fc7d2c3c
Can we force it to report for the right project?
2020-12-14 10:24:26 -05:00
Jean-Paul Calderone
0357eeb924
news fragment
2020-12-14 10:11:05 -05:00
Jean-Paul Calderone
1c2f3ee9c2
Merge pull request #924 from sajith/3555.stats-gatherer-is-history
...
Add a note about stats gatherer removal to "Old Configuration Files" doc
Fixes: ticket:3555
2020-12-14 09:40:30 -05:00
Jean-Paul Calderone
bdb7c50fac
You can just use multiple terminals
...
If you know how to daemonize stuff you can figure it out yourself I guess.
2020-12-14 09:38:16 -05:00
Jean-Paul Calderone
a0931f4999
You can pass the introducer on the command line
2020-12-14 09:38:06 -05:00