Jean-Paul Calderone
9a9b4bb232
Use a monkey patching library for monkey patching
2021-02-12 10:14:23 -05:00
Jean-Paul Calderone
ff25ee3f71
Merge remote-tracking branch 'origin/master' into 3600.eliotutil-vs-skips
2021-02-12 10:07:44 -05:00
Jean-Paul Calderone
9ad4d31d9d
Merge pull request #968 from LeastAuthority/3592.convergence-hasher-tag-tests
...
convergence hasher tag tests
Fixes: ticket:3592
2021-02-11 16:25:41 -05:00
Jean-Paul Calderone
a8b1c204d2
Mark the expected result literal as the correct type, bytes
2021-02-11 16:06:18 -05:00
Itamar Turner-Trauring
e5806301d3
Merge pull request #976 from tahoe-lafs/3596.test-web-python-3-even-more
...
Port test_web.py to Python 3
Fixes ticket:3596
2021-02-10 14:21:22 -05:00
Jean-Paul Calderone
845e33061e
Merge pull request #964 from LeastAuthority/3588.use-pywin32-more
...
Use pywin32 more
Fixes: ticket:3588
2021-02-09 21:15:34 -05:00
Jean-Paul Calderone
28acc5ccb4
Duplicate the fix for the other Windows-only module
2021-02-09 14:50:29 -05:00
Jean-Paul Calderone
27fcfe94dd
The code is 3-clause BSD licensed now.
2021-02-09 10:24:46 -05:00
Jean-Paul Calderone
ab57746a85
Merge pull request #969 from LeastAuthority/3593.get_encryption_key-test
...
Add FileHandle.get_encryption_key test
Fixes: ticket:3593
2021-02-07 07:41:44 -05:00
Itamar Turner-Trauring
2595e25258
Improve coverage, specifically of values that are bytes.
2021-02-03 10:16:34 -05:00
Itamar Turner-Trauring
a1add9a512
Clarify.
2021-02-03 10:13:19 -05:00
Itamar Turner-Trauring
0b57fb9df1
Merge remote-tracking branch 'origin/master' into 3596.test-web-python-3-even-more
2021-02-02 15:28:49 -05:00
Itamar Turner-Trauring
51bd4b719c
Fix lint.
2021-02-02 15:28:12 -05:00
Itamar Turner-Trauring
fa3bef5b25
Port to Python 3.
2021-02-02 15:27:15 -05:00
Itamar Turner-Trauring
489b9f87b3
All tests pass on Python 3.
2021-02-02 15:14:44 -05:00
Itamar Turner-Trauring
26560a4212
More passing tests on Python 3.
2021-02-02 14:25:01 -05:00
Itamar Turner-Trauring
abf6413a89
More passing tests on Python 3.
2021-02-01 11:50:33 -05:00
Itamar Turner-Trauring
73537351a7
More passing tests on Python 3.
2021-02-01 11:05:36 -05:00
Itamar Turner-Trauring
438933ec8d
Fix tests on Python 2.
2021-02-01 11:02:00 -05:00
Itamar Turner-Trauring
20c04f4ddb
Make sure it's non-UTF-8-encodable bytes, just to make sure it's roundtripping correctly.
2021-02-01 10:46:08 -05:00
Itamar Turner-Trauring
6fd62eb25e
Merge remote-tracking branch 'origin/master' into 3579.ftp-python-3
2021-01-28 15:15:57 -05:00
Jean-Paul Calderone
81edda8011
... this?
2021-01-28 15:11:13 -05:00
Itamar Turner-Trauring
90a47bb859
WIP
2021-01-28 12:00:15 -05:00
Itamar Turner-Trauring
e5a7ea97c7
More tests passing on Python 3.
2021-01-28 11:44:16 -05:00
Itamar Turner-Trauring
2007323baa
More passing tests on Python 3.
2021-01-28 11:19:09 -05:00
Itamar Turner-Trauring
6668842356
More passing tests on Python 3.
2021-01-27 15:43:44 -05:00
Itamar Turner-Trauring
ea10c7c937
More passing tests on Python 3.
2021-01-27 15:20:38 -05:00
Itamar Turner-Trauring
175a3ca4bb
More passing tests on Python 3.
2021-01-27 12:45:36 -05:00
Itamar Turner-Trauring
4f56ce436a
More passing tests on Python 3.
2021-01-27 12:39:28 -05:00
Itamar Turner-Trauring
c1391159fa
More passing tests on Python 3.
2021-01-27 12:06:25 -05:00
Jean-Paul Calderone
64f3e1277e
Replace eliot_logged_test with something ... else
...
The previous implementation relied on TestCase.addCleanup in an unreliable
way.
This implementation pushes the decoration logic in to the test method itself
on the premise that test methods that do weird stuff are better supported than
`run` methods that do weird stuff.
Also add some more tests for this behavior.
2021-01-27 11:33:09 -05:00
Itamar Turner-Trauring
9f5e1381bf
Another passing Python 3 test.
2021-01-27 11:29:46 -05:00
Itamar Turner-Trauring
5a2339ced3
Another test passing on Python 3.
2021-01-26 11:09:19 -05:00
Itamar Turner-Trauring
8493d70cab
Support byte keys in internal dictionaries.
2021-01-26 11:01:50 -05:00
Itamar Turner-Trauring
e271cd1b64
Another test passing on Python 3.
2021-01-26 10:20:15 -05:00
Jean-Paul Calderone
bb8348f7bb
Merge remote-tracking branch 'origin/master' into 3588.use-pywin32-more
2021-01-26 09:54:59 -05:00
Jean-Paul Calderone
15dbbce217
Merge remote-tracking branch 'origin/master' into 3592.convergence-hasher-tag-tests
2021-01-26 09:53:26 -05:00
Itamar Turner-Trauring
dc3871b711
Merge pull request #970 from tahoe-lafs/3590.error-in-integration-test
...
Fix URI redirect error that was manifesting in the integration tests
Fixes ticket:3590
2021-01-26 09:50:40 -05:00
Jean-Paul Calderone
25b453047c
Merge remote-tracking branch 'origin/master' into 3593.get_encryption_key-test
2021-01-25 11:12:59 -05:00
Itamar Turner-Trauring
58745fd373
More passing Python 3 tests.
2021-01-25 10:32:28 -05:00
Itamar Turner-Trauring
59847edf9c
More Python 3 fixes.
2021-01-25 10:06:05 -05:00
Itamar Turner-Trauring
b6788c4439
More Python 3 fixes.
2021-01-25 09:55:55 -05:00
Itamar Turner-Trauring
3eb62f1d0f
More passing tests on Python 3.
2021-01-25 09:25:20 -05:00
Jean-Paul Calderone
e5f0dcfbb4
Merge pull request #971 from LeastAuthority/3594.read_encrypted-test
...
Directly test read_encrypted behavior and remove a `fireEventually` from its implementation
Fixes: ticket:3594
Fixes: ticket:3595
2021-01-25 09:14:35 -05:00
Itamar Turner-Trauring
4c5ea34af6
More passing tests on Python 3.
2021-01-22 15:07:03 -05:00
Itamar Turner-Trauring
4e15b37062
Bit more progress on Python 3.
2021-01-22 11:59:26 -05:00
Itamar Turner-Trauring
27a5211385
More passing tests on Python 3.
2021-01-22 11:37:37 -05:00
Itamar Turner-Trauring
011b027c39
More passing tests on Python 3.
2021-01-22 10:14:28 -05:00
Itamar Turner-Trauring
755de5edaf
Start of passing tests on Python 3.
2021-01-22 09:58:51 -05:00
Itamar Turner-Trauring
23e52b1237
Simplify the unit test.
2021-01-21 09:58:58 -05:00