Itamar Turner-Trauring
1371ffe9dc
Just have ruff in one place.
2023-04-25 08:14:26 -04:00
Itamar Turner-Trauring
c05afb19df
Don't install code, it's not necessary.
2023-04-17 10:33:31 -04:00
Itamar Turner-Trauring
6517cd4a48
Fix lint found by ruff.
2023-04-17 10:22:27 -04:00
Itamar Turner-Trauring
7b33931df2
Replace flake8 with ruff.
2023-04-17 10:21:20 -04:00
Itamar Turner-Trauring
aafbb00333
Use ruff for trailing whitespace.
2023-04-17 10:10:09 -04:00
Itamar Turner-Trauring
cda97e4fa6
Remove pylint, replacing with faster alternative.
2023-04-17 10:06:50 -04:00
Itamar Turner-Trauring
48a8c5deea
Merge pull request #1288 from tahoe-lafs/4010-remove-codecov
...
Rip out codecov for now
Fixes ticket:4010
2023-04-13 12:48:35 -04:00
Itamar Turner-Trauring
e9a9ac7110
Rip out codecov for now.
2023-04-13 09:44:52 -04:00
Itamar Turner-Trauring
174609116e
Merge pull request #1284 from tahoe-lafs/3880-http-storage-logging
...
HTTP storage logging, part 1
Fixes ticket:3880
2023-04-12 17:00:57 -04:00
Jean-Paul Calderone
8f317ad36b
Merge pull request #1285 from exarkun/4006.remove-github-actions-unit-test-jobs
...
Move some unit test jobs from GitHub Actions to CircleCI
Fixes: ticket:4006
2023-04-12 16:30:18 -04:00
Itamar Turner-Trauring
4d4649f5c2
Apply suggestions from code review
...
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-04-10 11:28:26 -04:00
Jean-Paul Calderone
4c542dfa9b
news fragment
2023-04-05 09:37:16 -04:00
Jean-Paul Calderone
7ae7db678e
add CPython 3.8 and CPython 3.9 unit test jobs to CircleCI
2023-04-05 09:03:51 -04:00
Jean-Paul Calderone
8557c66b39
Remove the "ubuntu-latest" unit test job from GitHub Actions
2023-04-05 09:03:20 -04:00
Jean-Paul Calderone
2be9e949f0
add Ubuntu 22.04 unit test job to CircleCI
2023-04-05 09:02:34 -04:00
Jean-Paul Calderone
590b20431a
Merge pull request #1282 from exarkun/4003.test_connection_status-demock
...
Remove `mock` use from allmydata/test/test_connection_status.py
Fixes: ticket:4003
2023-04-03 12:18:05 -04:00
Jean-Paul Calderone
28e442a4f5
Merge pull request #1280 from exarkun/4001.propagate-parent-process-env
...
Propagate parent environment to children in the integration tests
Fixes: ticket:4001
2023-04-03 12:16:58 -04:00
Itamar Turner-Trauring
e19aeb5aea
Correct the annotation.
2023-04-03 11:40:48 -04:00
Itamar Turner-Trauring
5e3fa04a3a
Reformat with black.
2023-04-03 11:30:22 -04:00
Itamar Turner-Trauring
57ec669e1e
Add logging for request().
2023-04-03 11:29:57 -04:00
Itamar Turner-Trauring
3b3ea5409c
Type says we should only pass in DecodedURL.
2023-04-03 11:26:08 -04:00
Itamar Turner-Trauring
41939e2b28
Add some type annotations.
2023-04-03 11:11:24 -04:00
Itamar Turner-Trauring
b81fad2970
Make sure tests have the same error testing infrastructure as the real thing.
2023-04-03 10:37:49 -04:00
Jean-Paul Calderone
0b5c96e762
Merge pull request #1281 from exarkun/4002.reuse-chutney
...
Use an existing Chutney, if there is one
Fixes: ticket:4002
2023-03-28 13:24:14 -04:00
Jean-Paul Calderone
efa91df901
Merge pull request #1279 from exarkun/4000.tor-integration-tests-skip
...
Skip the tor integration tests if any needed tor tools are missing
Fixes: ticket:4000
2023-03-28 13:23:49 -04:00
Jean-Paul Calderone
ecfa76ac32
Python 3.8 compatibility
2023-03-28 13:22:08 -04:00
Itamar Turner-Trauring
d36adf33a4
Refactor; failing tests for some reason.
2023-03-28 13:06:43 -04:00
Itamar Turner-Trauring
e8c72e6753
Not sure if per method logging is worth it, will start from assumption that HTTP
...
logging is enough.
2023-03-28 12:55:41 -04:00
Itamar Turner-Trauring
2fd1123f77
Merge pull request #1276 from tahoe-lafs/3978-connection-status-http-storage
...
Make connection status for http storage get updated in more cases
Fixes ticket:3978
2023-03-28 12:14:26 -04:00
Itamar Turner-Trauring
80d8e5b465
The function should return a coroutine.
2023-03-28 11:13:21 -04:00
Jean-Paul Calderone
3ea9e97606
Python 3.8 compatibility
2023-03-28 09:01:03 -04:00
Jean-Paul Calderone
a839ace32a
news fragment
2023-03-28 08:53:54 -04:00
Jean-Paul Calderone
2e6a40294b
Crank the type checking ratchet
2023-03-28 08:53:37 -04:00
Jean-Paul Calderone
6d4278b465
Factor some repetition out of the tests
2023-03-28 08:53:21 -04:00
Jean-Paul Calderone
8e63fe2fdd
Remove the unused mock import
2023-03-28 08:52:55 -04:00
Jean-Paul Calderone
9a8430c90f
Remove porting boilerplate
2023-03-28 08:52:44 -04:00
Jean-Paul Calderone
32cd54501d
Pass a time function instead of patching the global
2023-03-28 08:52:31 -04:00
Jean-Paul Calderone
6b7ea29d88
use foolscap.reconnector.Reconnector where one is required
...
Unfortunately we need to touch a private attribute directly to shove our
expected info into it. This isn't so bad though. Foolscap isn't moving much
and we're not touching anything complex, just setting a simple model
attribute.
2023-03-28 08:40:25 -04:00
Jean-Paul Calderone
e2c6cc49d5
use foolscap.info.ConnectionInfo where one is required
...
It's *right* there. Just use it!
2023-03-28 08:37:22 -04:00
Jean-Paul Calderone
2f106aa02a
use foolscap.reconnector.ReconnectionInfo where one is required
...
It's *right* there. Just use it!
2023-03-28 08:35:31 -04:00
Itamar Turner-Trauring
bd7c61cc5c
Split up the state management logic from the server pinging logic.
2023-03-27 16:58:15 -04:00
Jean-Paul Calderone
4232c7f142
remove unused binding
2023-03-27 14:55:10 -04:00
Itamar Turner-Trauring
7838f25bf8
Clean up with simpler idiom.
2023-03-27 14:54:36 -04:00
Itamar Turner-Trauring
0995772b24
Explain why we ignore type check.
2023-03-27 14:54:27 -04:00
Jean-Paul Calderone
81193aaddc
news fragment
2023-03-27 14:43:58 -04:00
Jean-Paul Calderone
d3d94937be
Nothing uses the return value of this fixture
2023-03-27 14:42:32 -04:00
Jean-Paul Calderone
fb8c10c55f
Use an already-installed Chutney if there is one
2023-03-27 14:42:32 -04:00
Jean-Paul Calderone
92eeaef4bd
news fragment
2023-03-27 14:07:31 -04:00
Jean-Paul Calderone
8613e36bae
Propagate parent environment to children in the integration tests
2023-03-27 14:06:16 -04:00
Jean-Paul Calderone
b65e8c72df
Skip the tor integration tests if any needed tor tools are missing
2023-03-27 13:57:09 -04:00