fenn-cs
|
117befd898
|
detect all port 0 configs
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
|
2021-08-23 02:34:32 +01:00 |
|
Itamar Turner-Trauring
|
370d1ddafe
|
Fix flake.
|
2021-08-20 08:20:24 -04:00 |
|
Itamar Turner-Trauring
|
59fab99d9d
|
Nothing uses RIStorageServer.renew_lease, so removing it is simple.
|
2021-08-19 16:40:45 -04:00 |
|
Itamar Turner-Trauring
|
d599568c79
|
Tests validating that the operation for adding a lease will renew the lease
instead if it already exists.
|
2021-08-19 13:56:13 -04:00 |
|
Itamar Turner-Trauring
|
dfff187ad0
|
Make time pluggable to support better testing.
|
2021-08-19 13:23:01 -04:00 |
|
Jean-Paul Calderone
|
acc8cbd28b
|
Remove use of the mock module from test_status
|
2021-08-12 16:50:01 -04:00 |
|
Jean-Paul Calderone
|
85ba6567ba
|
Try to make sure fixed argv is used on Py27+Windows
Previous version that rebound sys.argv didn't work so well with early binding
used by some some functions for default argument values.
|
2021-08-12 12:11:39 -04:00 |
|
Jean-Paul Calderone
|
893d21fcbb
|
Fix the UsageError closer in the Py2 codepath we already have for it
|
2021-08-11 16:46:29 -04:00 |
|
Jean-Paul Calderone
|
b56a956843
|
Sort out this gross error reporting encoding/decoding mess
A little, anyway
|
2021-08-11 15:42:21 -04:00 |
|
Jean-Paul Calderone
|
13dae392cb
|
Go with a shorter name
|
2021-08-11 14:41:18 -04:00 |
|
Jean-Paul Calderone
|
6931d10ace
|
Fix mis-merge: use argv parameter instead of sys.argv
|
2021-08-11 14:40:22 -04:00 |
|
Jean-Paul Calderone
|
975f268d8d
|
Provide enough output to debug the failure
|
2021-08-11 14:39:32 -04:00 |
|
Jean-Paul Calderone
|
fd3d3bc688
|
Give the py3 static checker something to resolve unicode to
It's pretty much just a bug in the static checker. :/
|
2021-08-11 14:27:21 -04:00 |
|
Jean-Paul Calderone
|
1d75bbfd72
|
str is a kind of weird future thing; coerce another way
|
2021-08-11 14:25:47 -04:00 |
|
Jean-Paul Calderone
|
4d41e30ce9
|
Just pass unicode at this layer
|
2021-08-11 14:25:40 -04:00 |
|
Jean-Paul Calderone
|
d56c218586
|
Options are defined with unicode now; argv better be unicode.
|
2021-08-11 14:25:24 -04:00 |
|
Jean-Paul Calderone
|
0176583e75
|
Get a text-mode FilePath in a py3 compatible way
|
2021-08-11 13:32:04 -04:00 |
|
Jean-Paul Calderone
|
2244f0374e
|
fail more informatively
|
2021-08-11 13:31:07 -04:00 |
|
Jean-Paul Calderone
|
5f6ae1f8f5
|
Fix mis-merge: don't try to stripe argv[0] twice
|
2021-08-11 13:30:52 -04:00 |
|
Jean-Paul Calderone
|
ffbcbf78a7
|
Send the warning to the parameterized stderr
|
2021-08-11 13:30:39 -04:00 |
|
Jean-Paul Calderone
|
9632b35abe
|
Fix mismerge: Put Py3 warning back
|
2021-08-11 13:19:15 -04:00 |
|
Jean-Paul Calderone
|
15312009ce
|
Fix mis-merge: This test moved to test_run.py
|
2021-08-11 12:58:51 -04:00 |
|
Jean-Paul Calderone
|
66d40527d1
|
Merge remote-tracking branch 'origin/master' into 3528.test_cli-no-mock
|
2021-08-11 12:56:00 -04:00 |
|
fenn-cs
|
a6b7c07e1c
|
added missing parathensis, ran yapf
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
|
2021-08-10 10:13:00 +01:00 |
|
fenn-cs
|
7ad3fa9e25
|
correct use of succeeded, remove trailing spaces and unused import
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
|
2021-08-09 23:46:30 +01:00 |
|
fenn-cs
|
90e84730e5
|
Fixes 3757 : Refactored test_introducer in web tests to use custom base test cases
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
|
2021-08-08 21:49:02 +01:00 |
|
Itamar Turner-Trauring
|
d060af641a
|
Python 3 port is essentially done-get rid of relevant tests and tracking code.
|
2021-07-30 11:13:57 -04:00 |
|
Itamar Turner-Trauring
|
af49dcb89e
|
On Python 2 we don't need to convert byte keys to unicode.
|
2021-07-05 16:35:06 -07:00 |
|
Itamar Turner-Trauring
|
e0b4cf057e
|
Fix logging of bytes in Foolscap on Python 3.
|
2021-07-05 16:03:24 -07:00 |
|
Itamar Turner-Trauring
|
7deec790a6
|
Merge pull request #1084 from tahoe-lafs/3736.frontends-auth-python-3
Port allmydata.frontend.auth to Python 3
Fixes ticket:3736
|
2021-06-23 09:04:48 -04:00 |
|
Itamar Turner-Trauring
|
83b4fb88f4
|
Merge pull request #1085 from tahoe-lafs/3738.failing-unicode-upload-regression-python-2
Fix bug where uploading files with Unicode filenames failed on Python 2
Fixes ticket:3738
|
2021-06-23 09:04:31 -04:00 |
|
Itamar Turner-Trauring
|
3f98349cd9
|
Limit Pickle protocol to version supported by Python 2.
|
2021-06-16 11:53:25 -04:00 |
|
Itamar Turner-Trauring
|
f778d25c44
|
Apply same fix to success path.
|
2021-06-15 14:05:49 -04:00 |
|
Itamar Turner-Trauring
|
e8308043e3
|
Method that doesn't break on Python 3.
|
2021-06-15 14:03:58 -04:00 |
|
Itamar Turner-Trauring
|
3461665ccf
|
Get rid of annoying warning.
|
2021-06-15 13:56:34 -04:00 |
|
Itamar Turner-Trauring
|
d74ef0798d
|
Fix quoting to work on Python 2.
|
2021-06-15 13:46:22 -04:00 |
|
Itamar Turner-Trauring
|
473654ccb7
|
Test demonstrating the problem.
|
2021-06-15 13:46:06 -04:00 |
|
Itamar Turner-Trauring
|
2447d09fc0
|
Port to Python 3.
|
2021-06-14 11:58:48 -04:00 |
|
Itamar Turner-Trauring
|
aa809669db
|
Add a couple more tests for more complete coverage.
|
2021-06-14 11:51:18 -04:00 |
|
Itamar Turner-Trauring
|
f48cf88f35
|
Fix flake.
|
2021-06-03 09:45:29 -04:00 |
|
Itamar Turner-Trauring
|
293cea6fd2
|
Port to Python 3.
|
2021-06-03 09:40:11 -04:00 |
|
Itamar Turner-Trauring
|
279d6b6542
|
Port to Python 3.
|
2021-06-03 09:39:13 -04:00 |
|
Itamar Turner-Trauring
|
cb1e591c6e
|
Port to Python 3.
|
2021-06-03 09:37:59 -04:00 |
|
Itamar Turner-Trauring
|
77676c1648
|
Port to Python 3.
|
2021-06-03 09:36:22 -04:00 |
|
Itamar Turner-Trauring
|
cf68f55039
|
Port to Python 3.
|
2021-06-03 09:34:42 -04:00 |
|
Itamar Turner-Trauring
|
58d6f9f6cf
|
Port to Python 3.
|
2021-06-03 09:28:10 -04:00 |
|
Itamar Turner-Trauring
|
53482dd8ac
|
Port to Python 3.
|
2021-06-03 09:26:24 -04:00 |
|
Itamar Turner-Trauring
|
a910ebcc8a
|
Fix flakes.
|
2021-06-02 11:31:32 -04:00 |
|
Itamar Turner-Trauring
|
defe16f912
|
Port to Python 3.
|
2021-06-02 11:30:19 -04:00 |
|
Itamar Turner-Trauring
|
9804a44c50
|
Port to Python 3.
|
2021-06-02 11:19:45 -04:00 |
|
Itamar Turner-Trauring
|
61fdea9043
|
Port to Python 3.
|
2021-06-02 10:19:30 -04:00 |
|
Itamar Turner-Trauring
|
9d5f1ad735
|
Port to Python 3.
|
2021-06-02 10:14:59 -04:00 |
|
Itamar Turner-Trauring
|
464b7055c2
|
Port to Python 3.
|
2021-06-02 10:12:05 -04:00 |
|
Itamar Turner-Trauring
|
a0744ffa8c
|
Don't shadow builtin.
|
2021-06-02 09:54:57 -04:00 |
|
Itamar Turner-Trauring
|
43138d16d1
|
Merge branch '3716.allmydata-scripts-python-3-part-1' into 3718.allmydata-scripts-python-3-part-2
|
2021-05-28 11:28:23 -04:00 |
|
Itamar Turner-Trauring
|
b509ff69fc
|
Flake fix.
|
2021-05-28 11:25:16 -04:00 |
|
Itamar Turner-Trauring
|
64f6ccd17f
|
Make --exclude-from behavior consistent, at the cost of a minor incompatibility.
|
2021-05-28 09:53:28 -04:00 |
|
Itamar Turner-Trauring
|
69c8305ae8
|
Flake fix.
|
2021-05-27 13:55:29 -04:00 |
|
Itamar Turner-Trauring
|
8be4acd7ec
|
Faking sys.stdout doesn't go well since we lookup encoding attribute.
|
2021-05-27 13:54:37 -04:00 |
|
Itamar Turner-Trauring
|
eddd9550f0
|
Pass test.
|
2021-05-27 13:26:56 -04:00 |
|
Itamar Turner-Trauring
|
8aa3391276
|
Consistent behavior.
|
2021-05-27 13:26:46 -04:00 |
|
Itamar Turner-Trauring
|
0425b64041
|
Match current logic.
|
2021-05-27 13:26:23 -04:00 |
|
Itamar Turner-Trauring
|
49be6906c8
|
Fix test.
|
2021-05-27 13:07:56 -04:00 |
|
Itamar Turner-Trauring
|
d78e9d891d
|
Passing test.
|
2021-05-27 11:40:59 -04:00 |
|
Itamar Turner-Trauring
|
741af0b0eb
|
Fix imports.
|
2021-05-26 15:27:16 -04:00 |
|
Itamar Turner-Trauring
|
0a9b3a4003
|
Don't want pdb.
|
2021-05-26 15:17:57 -04:00 |
|
Itamar Turner-Trauring
|
827e2e1d03
|
Merge remote-tracking branch 'origin/master' into 3716.allmydata-scripts-python-3-part-1
|
2021-05-26 15:06:01 -04:00 |
|
Itamar Turner-Trauring
|
d967c6de98
|
Merge pull request #1067 from tahoe-lafs/3700.byteswarning-windows
Run (and pass) Python 3 unit tests on Windows
Fixes ticket:3700
Fixes ticket:3701
|
2021-05-26 14:43:50 -04:00 |
|
Itamar Turner-Trauring
|
7f70315c83
|
Skip tests on Python 3.
|
2021-05-25 14:49:44 -04:00 |
|
Itamar Turner-Trauring
|
52cd90941f
|
Actually use the encoding.
|
2021-05-25 14:29:22 -04:00 |
|
Itamar Turner-Trauring
|
2c7a4c7e07
|
Try to fix Windows failure on Python 3.
|
2021-05-25 11:45:36 -04:00 |
|
Itamar Turner-Trauring
|
cf299684c2
|
Unneeded.
|
2021-05-25 10:40:44 -04:00 |
|
Itamar Turner-Trauring
|
8ca6a72396
|
Write out the file in an encoding that matches what the reader expects.
|
2021-05-24 10:50:49 -04:00 |
|
Itamar Turner-Trauring
|
0966ce17aa
|
Try to fix on Windows.
|
2021-05-24 10:33:21 -04:00 |
|
Itamar Turner-Trauring
|
7e8e93200f
|
Don't "fix" things on Python 3 that are already fixed.
|
2021-05-24 10:13:08 -04:00 |
|
Itamar Turner-Trauring
|
9e6915ca78
|
Not used.
|
2021-05-21 11:12:41 -04:00 |
|
Itamar Turner-Trauring
|
1e9dfd2fce
|
Another test.
|
2021-05-21 11:01:17 -04:00 |
|
Itamar Turner-Trauring
|
bb74b7fe0c
|
Note this code is buggy.
|
2021-05-21 11:01:00 -04:00 |
|
Itamar Turner-Trauring
|
01db931192
|
A test that doesn't really increase coverage much. Ideally this would test immutable directories to test caching logic, but that's too much of a pain. Since I already have this written, going to leave in cause why not.
|
2021-05-18 13:35:34 -04:00 |
|
Itamar Turner-Trauring
|
1fa6ce97e1
|
Merge remote-tracking branch 'origin/master' into 3714-cli-testing-coverage
|
2021-05-17 12:59:57 -04:00 |
|
Itamar Turner-Trauring
|
073f521cc1
|
WIP
|
2021-05-17 12:59:38 -04:00 |
|
Itamar Turner-Trauring
|
f73f601f67
|
Port to Python 3.
|
2021-05-17 10:35:16 -04:00 |
|
Itamar Turner-Trauring
|
693e98e3a7
|
Port to Python 3.
|
2021-05-17 10:05:44 -04:00 |
|
Itamar Turner-Trauring
|
1b87312652
|
Port to Python 3.
|
2021-05-17 09:58:59 -04:00 |
|
Itamar Turner-Trauring
|
bf133be195
|
Port to Python 3.
|
2021-05-17 09:56:13 -04:00 |
|
Itamar Turner-Trauring
|
1e0bf545ba
|
Port to Python 3.
|
2021-05-17 09:47:07 -04:00 |
|
Itamar Turner-Trauring
|
c92bf72437
|
Add missing comma.
|
2021-05-17 09:36:43 -04:00 |
|
Itamar Turner-Trauring
|
e0cab75cc6
|
Merge branch '3709-even-more-integration-tests-python-3' into 3716.allmydata-scripts-python-3-part-1
|
2021-05-14 10:51:52 -04:00 |
|
Itamar Turner-Trauring
|
0655b02050
|
Port to Python 3.
|
2021-05-14 10:50:04 -04:00 |
|
Itamar Turner-Trauring
|
7c170317c0
|
Remove some cruft.
|
2021-05-14 10:41:53 -04:00 |
|
Itamar Turner-Trauring
|
e3f0795550
|
Port to Python 3.
|
2021-05-14 10:31:26 -04:00 |
|
Itamar Turner-Trauring
|
bcf2374dfe
|
Port to Python 3.
|
2021-05-14 10:27:07 -04:00 |
|
Itamar Turner-Trauring
|
a2280b7660
|
Port to Python 3.
|
2021-05-14 10:22:07 -04:00 |
|
Itamar Turner-Trauring
|
66f53fada8
|
Port to Python 3.
|
2021-05-14 09:46:15 -04:00 |
|
Itamar Turner-Trauring
|
250ca3170d
|
Port to Python 3.
|
2021-05-14 09:42:13 -04:00 |
|
Itamar Turner-Trauring
|
04058e942c
|
Merge branch 'master' into 3709-even-more-integration-tests-python-3
|
2021-05-14 09:31:20 -04:00 |
|
Itamar Turner-Trauring
|
b330eb3b6f
|
Merge remote-tracking branch 'origin/master' into 3709-even-more-integration-tests-python-3
|
2021-05-13 11:27:13 -04:00 |
|
Itamar Turner-Trauring
|
22a0f1d72e
|
Merge remote-tracking branch 'origin/master' into 3707-more-integration-python-3
|
2021-05-13 11:23:36 -04:00 |
|
Itamar Turner-Trauring
|
330de25061
|
Merge pull request #1056 from tahoe-lafs/3703.integration-tests-python-3
First integration tests running on Python 3
Fixes ticket:3703
|
2021-05-13 11:20:54 -04:00 |
|
Itamar Turner-Trauring
|
4c1f65d97a
|
Test for leading slash check.
|
2021-05-13 10:52:12 -04:00 |
|
Itamar Turner-Trauring
|
c4c053a37d
|
Fix failing tests on Python 3.
|
2021-05-12 12:02:22 -04:00 |
|
Itamar Turner-Trauring
|
8741c33b35
|
Needs to be in separate list since it's not checked.
|
2021-05-12 11:58:02 -04:00 |
|
Itamar Turner-Trauring
|
c4dd8dde27
|
Flake.
|
2021-05-12 11:51:47 -04:00 |
|
Itamar Turner-Trauring
|
a0bdc57a5e
|
Flake fix.
|
2021-05-12 11:10:42 -04:00 |
|
Itamar Turner-Trauring
|
7aa3c9c3ba
|
Use passed-in encoding.
|
2021-05-12 11:06:26 -04:00 |
|
Itamar Turner-Trauring
|
22f8b9b428
|
Port to Python 3.
|
2021-05-12 09:25:52 -04:00 |
|
Itamar Turner-Trauring
|
079041fc1e
|
Port to Python 3.
|
2021-05-12 09:22:33 -04:00 |
|
Itamar Turner-Trauring
|
e2ce207fdd
|
Don't convert bytes to unicode implicitly.
|
2021-05-12 09:13:55 -04:00 |
|
Itamar Turner-Trauring
|
fba23ef91c
|
Port to Python 3.
|
2021-05-11 13:34:35 -04:00 |
|
Itamar Turner-Trauring
|
070691caa2
|
Make sure it always goes to stderr.
|
2021-05-11 13:18:03 -04:00 |
|
Itamar Turner-Trauring
|
9b6067dcd1
|
Make test match reality, and fix corresponding bug.
|
2021-05-11 13:18:03 -04:00 |
|
Itamar Turner-Trauring
|
b8b00fa2da
|
Port to Python 3.
|
2021-05-11 11:13:52 -04:00 |
|
Itamar Turner-Trauring
|
9baedc97db
|
Auth token needs to be bytes, apparently.
|
2021-05-11 11:09:59 -04:00 |
|
Itamar Turner-Trauring
|
03c1376a30
|
Try to fix the test.
|
2021-05-10 13:04:44 -04:00 |
|
Itamar Turner-Trauring
|
37bcaf6c88
|
Port initialization "tests".
|
2021-05-10 11:51:41 -04:00 |
|
Itamar Turner-Trauring
|
02e699347e
|
Mark tests as ported.
|
2021-05-10 11:49:21 -04:00 |
|
Itamar Turner-Trauring
|
430bc51e29
|
SFTP integration tests pass on Python 3.
|
2021-05-10 11:41:59 -04:00 |
|
Itamar Turner-Trauring
|
1257fc18c8
|
Additional test coverage and corresponding bug fixes for password auth on Python 3.
|
2021-05-10 11:10:52 -04:00 |
|
Itamar Turner-Trauring
|
a843210b26
|
Merge branch '3703.integration-tests-python-3' into 3707-more-integration-python-3
|
2021-05-10 10:38:02 -04:00 |
|
Itamar Turner-Trauring
|
150b0fd3a3
|
This code should only run on Python 3.
|
2021-05-10 10:31:12 -04:00 |
|
Itamar Turner-Trauring
|
905ea9cafd
|
Make stdio emulation more realistic, to trigger problem that was previously
missed by tests.
|
2021-05-10 10:30:15 -04:00 |
|
Itamar Turner-Trauring
|
7c2f9e7d8c
|
Fix test to match real-world types.
|
2021-05-10 10:19:21 -04:00 |
|
Itamar Turner-Trauring
|
add20d8024
|
First pass at integration support on Python 3.
|
2021-05-10 10:01:14 -04:00 |
|
Itamar Turner-Trauring
|
aa22c6e59b
|
Merge pull request #1055 from tahoe-lafs/3705.python3-normal-trial
Run all unit tests on Python 3 unconditionally
Fixes ticket:3705
|
2021-05-10 09:59:30 -04:00 |
|
Itamar Turner-Trauring
|
1fbeb6e54e
|
It's gone.
|
2021-05-07 13:43:20 -04:00 |
|
Itamar Turner-Trauring
|
930329126d
|
One final test module to port to Python 3 (nominally).
|
2021-05-07 13:28:01 -04:00 |
|
Itamar Turner-Trauring
|
ad05abd2f7
|
Just run unit tests normally on Python 3.
|
2021-05-07 13:25:57 -04:00 |
|
Itamar Turner-Trauring
|
04fc8e7046
|
Port to Python 3.
|
2021-05-07 13:21:23 -04:00 |
|
Itamar Turner-Trauring
|
b11cc9137b
|
Integration test passed on Python 3.
|
2021-05-07 10:48:50 -04:00 |
|
Itamar Turner-Trauring
|
d25140b847
|
Fix flakes on Python 3.
|
2021-05-07 09:36:01 -04:00 |
|
Itamar Turner-Trauring
|
4ff8a2a09c
|
Pretty sure reactor implements IReactorSocket on Windows on Python 3, but that's
still not enough for this functionality to work (and it might be a Twisted bug).
|
2021-05-05 12:59:06 -04:00 |
|
Itamar Turner-Trauring
|
da5c38b7ca
|
Fix a NameError.
|
2021-05-05 12:39:42 -04:00 |
|
Itamar Turner-Trauring
|
8af84b7a0c
|
Fix tests on Python 3.9 (apparently encoding is no-op on Python 3, and Python
always assumes utf-8 by default anyway for JSON).
|
2021-05-05 11:57:13 -04:00 |
|
Itamar Turner-Trauring
|
fa4be104a6
|
New name for module.
|
2021-05-05 11:31:19 -04:00 |
|
Itamar Turner-Trauring
|
1ed24a1616
|
This API is irrelevant in Python 2.5 or later, and not present in newer Python 3.
|
2021-05-05 11:22:17 -04:00 |
|
Itamar Turner-Trauring
|
65159c9961
|
Use modern (and actually correct on Windows!) API for getting CPU time.
|
2021-05-05 10:37:49 -04:00 |
|
Itamar Turner-Trauring
|
90240ae5ef
|
Tests pass on Python 3.
|
2021-05-04 12:03:12 -04:00 |
|
Itamar Turner-Trauring
|
07b58e3619
|
All tests pass on Python 3.
|
2021-05-04 11:34:58 -04:00 |
|
Itamar Turner-Trauring
|
cc176342d4
|
Some progress towards test_system.py fully running on Python 3.
|
2021-05-04 11:22:12 -04:00 |
|
Itamar Turner-Trauring
|
7411da1b88
|
Port to Python 3.
|
2021-05-04 10:57:45 -04:00 |
|
Itamar Turner-Trauring
|
4c6d55b260
|
Port to Python 3.
|
2021-05-04 10:52:55 -04:00 |
|
Itamar Turner-Trauring
|
c589e97cde
|
All tests pass on Python 3.
|
2021-05-04 10:40:43 -04:00 |
|
Itamar Turner-Trauring
|
a4af4d8e5b
|
Even more passing tests on Python 3.
|
2021-05-04 10:36:27 -04:00 |
|
Itamar Turner-Trauring
|
deaaa8c727
|
More tests passing on Python 3.
|
2021-05-04 10:27:26 -04:00 |
|
Itamar Turner-Trauring
|
75deef906d
|
More progress towards running tests on Python 3.
|
2021-05-04 10:12:07 -04:00 |
|
Itamar Turner-Trauring
|
7349855ce4
|
Move unicode conversion higher up.
|
2021-05-04 10:00:27 -04:00 |
|
Itamar Turner-Trauring
|
ae739dfd9e
|
Python 3 updates.
|
2021-05-03 11:48:02 -04:00 |
|
Itamar Turner-Trauring
|
d3be3ce1e6
|
Start making tests pass on Python 3.
|
2021-05-03 11:43:31 -04:00 |
|
Itamar Turner-Trauring
|
1f70d5c13a
|
Port to Python 3.
|
2021-05-03 11:21:23 -04:00 |
|
Itamar Turner-Trauring
|
f9ae91a94e
|
Tests pass on Python 3.
|
2021-05-03 11:20:16 -04:00 |
|
Itamar Turner-Trauring
|
a7d4fed1ba
|
Port to Python 3.
|
2021-05-03 11:15:10 -04:00 |
|
Itamar Turner-Trauring
|
9dcfa2171e
|
Tests pass on Python 3.
|
2021-05-03 11:13:27 -04:00 |
|
Itamar Turner-Trauring
|
2b751c44db
|
Port to Python 3.
|
2021-05-03 11:10:54 -04:00 |
|
Itamar Turner-Trauring
|
c275f9ae54
|
Tests pass on Python 3.
|
2021-05-03 10:47:30 -04:00 |
|
Itamar Turner-Trauring
|
99543877d6
|
Fix flake.
|
2021-05-03 10:27:43 -04:00 |
|
Itamar Turner-Trauring
|
b3ede6b9f2
|
Nicer way to say the same thing.
|
2021-05-03 10:25:48 -04:00 |
|
Itamar Turner-Trauring
|
f6b5628ce1
|
Port to Python 3.
|
2021-04-30 11:33:51 -04:00 |
|
Itamar Turner-Trauring
|
463f9fe802
|
Tests pass on Python 3.
|
2021-04-30 11:31:25 -04:00 |
|
Itamar Turner-Trauring
|
da8e0d61aa
|
Port to Python 3.
|
2021-04-30 11:15:48 -04:00 |
|
Itamar Turner-Trauring
|
3846df8e4f
|
All test_create_alias tests pass on Python 3.
|
2021-04-30 11:06:31 -04:00 |
|
Itamar Turner-Trauring
|
46c03f6b75
|
Remove duplication, and add support for testing cases where stdin/stdout/stderr
have to be bytes.
|
2021-04-30 11:05:56 -04:00 |
|
Itamar Turner-Trauring
|
2f6535e26e
|
First test passes on Python 3.
|
2021-04-30 10:33:59 -04:00 |
|
Itamar Turner-Trauring
|
e48d85dd8b
|
Merge branch '3679.more-cli-tests-python-3' into 3687.cli-tests-python-3
|
2021-04-30 10:22:47 -04:00 |
|
Itamar Turner-Trauring
|
e56a8cc1f3
|
Merge branch '3678.cli-tests-python-3' into 3679.more-cli-tests-python-3
|
2021-04-30 10:20:27 -04:00 |
|
Itamar Turner-Trauring
|
72a85ba624
|
Fix lint.
|
2021-04-30 10:19:59 -04:00 |
|
Itamar Turner-Trauring
|
9137da5483
|
Stick to Unicode when possible.
|
2021-04-30 10:16:41 -04:00 |
|
Itamar Turner-Trauring
|
ef36e0e02a
|
Merge remote-tracking branch 'origin/master' into 3678.cli-tests-python-3
|
2021-04-28 13:17:37 -04:00 |
|
Itamar Turner-Trauring
|
904b423b48
|
Merge remote-tracking branch 'origin/master' into 3672.non-utf-8-bytes-in-logs
|
2021-04-28 13:17:07 -04:00 |
|
Itamar Turner-Trauring
|
2ad8a47455
|
Fix flake.
|
2021-04-26 09:59:18 -04:00 |
|
Itamar Turner-Trauring
|
04a09558b6
|
Port to Python 3.
|
2021-04-26 09:54:35 -04:00 |
|
Itamar Turner-Trauring
|
eb5211672c
|
Tests pass on Python 3.
|
2021-04-26 09:46:21 -04:00 |
|
Jason R. Coombs
|
6142168977
|
Merge pull request #1038 from tahoe-lafs/3652.remove-account.url
3652 Remove STFPd account.url support.
|
2021-04-23 10:21:53 -04:00 |
|
Itamar Turner-Trauring
|
b85d735b8b
|
Even more progress towards Python 3 tests passing.
|
2021-04-22 10:43:55 -04:00 |
|
Itamar Turner-Trauring
|
56e4385103
|
More progress towards Python 3 tests passing.
|
2021-04-22 10:36:10 -04:00 |
|
Itamar Turner-Trauring
|
5927e14ece
|
Merge branch '3678.cli-tests-python-3' into 3679.more-cli-tests-python-3
|
2021-04-22 10:28:26 -04:00 |
|
Itamar Turner-Trauring
|
a393b54315
|
Fix BytesWarning errors.
|
2021-04-22 10:27:59 -04:00 |
|
Itamar Turner-Trauring
|
b675ca2380
|
Lint fix.
|
2021-04-22 10:23:58 -04:00 |
|
Itamar Turner-Trauring
|
2aac69e0df
|
More passing tests on Python 3.
|
2021-04-22 10:20:26 -04:00 |
|
Itamar Turner-Trauring
|
416813578a
|
Some progress towards passing tests on Python 3.
|
2021-04-22 10:18:59 -04:00 |
|
Itamar Turner-Trauring
|
86fe350bef
|
Tests pass on Python 2.
|
2021-04-22 10:15:43 -04:00 |
|
Itamar Turner-Trauring
|
567c0f019e
|
Test random bytes.
|
2021-04-22 09:39:50 -04:00 |
|
Itamar Turner-Trauring
|
5ebb385c10
|
Port to Python 3.
|
2021-04-21 11:58:48 -04:00 |
|
Itamar Turner-Trauring
|
f6e0611b07
|
All tests pass on Python 3.
|
2021-04-21 11:42:05 -04:00 |
|
Itamar Turner-Trauring
|
5e59b9d8d6
|
A little closer to passing tests on Python 3.
|
2021-04-21 11:32:42 -04:00 |
|
Itamar Turner-Trauring
|
83e16d40a4
|
Some tests passing on Python 3.
|
2021-04-21 11:18:36 -04:00 |
|
Itamar Turner-Trauring
|
e090891935
|
In PyPy encode() doesn't call iterencode().
|
2021-04-21 10:39:27 -04:00 |
|
Itamar Turner-Trauring
|
08cb514eee
|
Correct parameter name.
|
2021-04-21 10:09:26 -04:00 |
|
Itamar Turner-Trauring
|
6e8dde3b14
|
Simplify.
|
2021-04-21 10:09:03 -04:00 |
|
Jason R. Coombs
|
1b46f981c6
|
Remove AccountURLChecker, the code that relies on it, associated tests, and docs.
|
2021-04-17 17:01:15 -04:00 |
|
Itamar Turner-Trauring
|
abb247b3cc
|
Fix flake.
|
2021-04-16 12:01:07 -04:00 |
|
Itamar Turner-Trauring
|
fa46efdb3a
|
Enable BytesWarnings in integration tests.
|
2021-04-16 11:58:37 -04:00 |
|
Itamar Turner-Trauring
|
61506f87bb
|
Make BytesWarning->exception global, to ease use in integration tests.
|
2021-04-16 11:55:20 -04:00 |
|
Itamar Turner-Trauring
|
bc9e4ac728
|
Support quoting any-old-bytes correctly on Python 2.
|
2021-04-16 11:36:53 -04:00 |
|
Itamar Turner-Trauring
|
51ebbae15a
|
Fix typo.
|
2021-04-16 11:21:47 -04:00 |
|
Itamar Turner-Trauring
|
19a3481e5f
|
Merge pull request #1042 from tahoe-lafs/3626.streaming-logs-with-bytes
Handle bytes in log messages streamed over websocket
Fixes ticket:3626
|
2021-04-16 11:21:28 -04:00 |
|
Itamar Turner-Trauring
|
d60bc2841a
|
Oh right, Python 2 Eliot doesn't support custom JSON encoders.
|
2021-04-14 11:19:04 -04:00 |
|
Itamar Turner-Trauring
|
32607b5ada
|
For logging, using a new JSON bytes encoder that works on any bytes string, not
just UTF-8-encoded strings.
|
2021-04-14 10:42:01 -04:00 |
|
Itamar Turner-Trauring
|
e242bf50c7
|
Handle bytes in log messages.
|
2021-04-14 09:56:27 -04:00 |
|
Itamar Turner-Trauring
|
953c06a18d
|
Fix some plain-str()-of-bytes bugs.
|
2021-04-13 09:53:08 -04:00 |
|
Itamar Turner-Trauring
|
2299c2dcc8
|
Fix implicit str(bytesobj).
|
2021-04-13 09:40:24 -04:00 |
|
Itamar Turner-Trauring
|
4ea1f153cc
|
Merge pull request #1039 from tahoe-lafs/3674.cli-tests-python-3
Port a bit more cli tests python 3
Fixes ticket:3674
|
2021-04-13 09:39:13 -04:00 |
|
Itamar Turner-Trauring
|
cbd816fbd5
|
Ensure warnings get turned into exceptions. Getting sneaking suspicion it's passing in filenames sometimes, not just modules.
|
2021-04-13 09:34:55 -04:00 |
|
Itamar Turner-Trauring
|
3a832efc15
|
Merge branch '3674.cli-tests-python-3' into 3675.byteswarning-as-error-again
|
2021-04-13 09:22:16 -04:00 |
|
Itamar Turner-Trauring
|
b0e6c86085
|
Better error messages.
|
2021-04-13 09:21:26 -04:00 |
|
Itamar Turner-Trauring
|
43620a3c19
|
Port to Python 3.
|
2021-04-12 12:53:17 -04:00 |
|
Itamar Turner-Trauring
|
c3d2a26ee5
|
Remove unused imports.
|
2021-04-12 10:27:00 -04:00 |
|
Itamar Turner-Trauring
|
a0302c50da
|
Fix a BytesWarning.
|
2021-04-12 10:25:15 -04:00 |
|
Itamar Turner-Trauring
|
2554112045
|
Handle Python 3 case where stdout by default is Unicode.
|
2021-04-12 10:17:12 -04:00 |
|
Itamar Turner-Trauring
|
e6532305bf
|
Match Python 3 behavior for stdout/stderr.
|
2021-04-12 10:17:01 -04:00 |
|
Itamar Turner-Trauring
|
8512bdcd8d
|
Even more progress towards passing Python 3 tests.
|
2021-04-12 09:51:53 -04:00 |
|
Itamar Turner-Trauring
|
069fcb91eb
|
More progress towards passing Python 3 tests.
|
2021-04-12 09:35:34 -04:00 |
|
Itamar Turner-Trauring
|
06c4ed13b7
|
Some progress towards passing Python 3 tests.
|
2021-04-12 09:28:51 -04:00 |
|
Itamar Turner-Trauring
|
d6406d5edb
|
Some progress towards passing backup tests on Python 3.
|
2021-04-07 10:44:48 -04:00 |
|
Itamar Turner-Trauring
|
9a17c4a5d2
|
Port to Python 3.
|
2021-04-07 09:28:04 -04:00 |
|
Itamar Turner-Trauring
|
803e00f6b1
|
Tests pass on Python 3.
|
2021-04-07 09:26:28 -04:00 |
|
Itamar Turner-Trauring
|
6f74bb7d88
|
Merge remote-tracking branch 'origin/master' into 3671.more-test-utilities-python-3
|
2021-04-07 09:11:31 -04:00 |
|
Itamar Turner-Trauring
|
01f75db2da
|
Merge pull request #1034 from tahoe-lafs/3667.test-utilities-python-3
Port more of allmydata.test utility modules to Python 3
Fixes ticket:3667
|
2021-04-07 09:10:46 -04:00 |
|
Itamar Turner-Trauring
|
ddcca38f31
|
Port to Python 3.
|
2021-04-06 10:51:14 -04:00 |
|
Itamar Turner-Trauring
|
315bb672d1
|
Port to Python 3.
|
2021-04-06 10:49:00 -04:00 |
|
Itamar Turner-Trauring
|
3429f8bf03
|
Port to Python 3.
|
2021-04-06 10:45:58 -04:00 |
|
Itamar Turner-Trauring
|
2257f89d39
|
More semantically robust test.
|
2021-04-06 10:45:44 -04:00 |
|
Itamar Turner-Trauring
|
044c79c4db
|
Port to Python 3.
|
2021-04-06 10:29:29 -04:00 |
|
Itamar Turner-Trauring
|
ae7680759d
|
Another checker script.
|
2021-04-06 10:22:47 -04:00 |
|
Itamar Turner-Trauring
|
abe3fbc2e5
|
Empty file.
|
2021-04-06 10:22:30 -04:00 |
|
Itamar Turner-Trauring
|
7f4a99306b
|
No need to port to Python 3.
|
2021-04-06 10:04:18 -04:00 |
|
Itamar Turner-Trauring
|
3841662ee6
|
Fix tests on Python 3.
|
2021-04-06 09:23:31 -04:00 |
|
Itamar Turner-Trauring
|
7b5cb13417
|
Flake fix.
|
2021-04-05 13:02:17 -04:00 |
|
Itamar Turner-Trauring
|
57aa798814
|
Delete another item that was deleted.
|
2021-04-05 13:01:23 -04:00 |
|
Itamar Turner-Trauring
|
3bc9b0d544
|
Port to Python 3.
|
2021-04-05 13:00:27 -04:00 |
|
Itamar Turner-Trauring
|
74e9bdd476
|
No point in having separate module.
|
2021-04-05 12:56:42 -04:00 |
|
Itamar Turner-Trauring
|
a11b47785f
|
Port to Python 3.
|
2021-04-05 12:52:42 -04:00 |
|
Itamar Turner-Trauring
|
a367d333d9
|
Port to Python 3.
|
2021-04-05 12:04:09 -04:00 |
|
Itamar Turner-Trauring
|
625a0abb02
|
Port to Python 3.
|
2021-04-05 11:37:32 -04:00 |
|
Itamar Turner-Trauring
|
a37121f89c
|
Already ported.
|
2021-04-05 11:34:51 -04:00 |
|
Itamar Turner-Trauring
|
84e32882b4
|
These don't belong in tests module.
|
2021-04-05 11:30:33 -04:00 |
|
Itamar Turner-Trauring
|
80385aea8e
|
Port to Python 3.
|
2021-04-05 11:29:13 -04:00 |
|
Itamar Turner-Trauring
|
eedc8f23cf
|
Delete some unused code.
|
2021-04-05 11:28:59 -04:00 |
|
Itamar Turner-Trauring
|
b981e90de3
|
Tahoe-LAFS now relies on a sufficiently new version of Twisted, which includes this bugfix.
|
2021-04-05 11:28:59 -04:00 |
|
Itamar Turner-Trauring
|
d214fe3f16
|
Delete unused imports.
|
2021-04-02 13:00:05 -04:00 |
|
Itamar Turner-Trauring
|
9a96fec604
|
Use existing IRemoteReference implementation.
|
2021-04-02 12:56:49 -04:00 |
|
Itamar Turner-Trauring
|
c21288b3dd
|
Make it easier to read.
|
2021-04-02 12:49:58 -04:00 |
|
Itamar Turner-Trauring
|
dd6e0d5467
|
Switch to decode_furl().
|
2021-04-02 12:49:01 -04:00 |
|
Itamar Turner-Trauring
|
939f1f840b
|
Fix reference to new location.
|
2021-04-02 12:48:50 -04:00 |
|
Itamar Turner-Trauring
|
fd1860705e
|
Port to Python 3.
|
2021-04-01 10:58:50 -04:00 |
|
Itamar Turner-Trauring
|
003e9c62a8
|
Delete unused code paths.
|
2021-04-01 10:58:27 -04:00 |
|
Itamar Turner-Trauring
|
e92b88195c
|
Port to Python 3.
|
2021-04-01 10:51:13 -04:00 |
|
Itamar Turner-Trauring
|
6127fc8cc7
|
Tests for rrefutil.
|
2021-04-01 10:49:59 -04:00 |
|
Itamar Turner-Trauring
|
062740dc23
|
Probably not worth unit testing a utility function used in one place, move it to
place it's used.
|
2021-04-01 10:23:37 -04:00 |
|
Itamar Turner-Trauring
|
9f02de688c
|
We don't support old Foolscap versions anymore.
|
2021-04-01 10:19:16 -04:00 |
|
Itamar Turner-Trauring
|
f606420d78
|
Make it new-style.
|
2021-04-01 10:14:05 -04:00 |
|