Commit Graph

12675 Commits

Author SHA1 Message Date
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
d25a0f1ce2 Increase timeout, just to be on the safe side. 2021-01-26 12:40:39 -05:00
Jean-Paul Calderone
94716c078a
Merge pull request #927 from viktoriiasavchuk/patch-1
Link to the code of conduct from CONTRIBUTING.rst

Fixes: ticket:3599
2021-01-26 11:57:57 -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
Itamar Turner-Trauring
6c04ea7497 Explanatory comment is better now. 2021-01-26 10:14:14 -05:00
Itamar Turner-Trauring
4e89ab2e66 Context manager. 2021-01-26 10:06:57 -05:00
Itamar Turner-Trauring
e7ab792c4c Explain why Paramiko. 2021-01-26 10:06:17 -05:00
Itamar Turner-Trauring
cc8e613fe3 Rephrase. 2021-01-26 10:00:50 -05:00
Jean-Paul Calderone
e6b3d59501 try to link to the same thing more robustly 2021-01-26 09:58:08 -05:00
Itamar Turner-Trauring
0424ba2a48 Fix indent. 2021-01-26 09:57:11 -05:00
Jean-Paul Calderone
c451d947ff Merge remote-tracking branch 'origin/master' into patch-1 2021-01-26 09:57:05 -05:00
Jean-Paul Calderone
3d2ca566f6 news fragment 2021-01-26 09:57:02 -05:00
Itamar Turner-Trauring
3b893a56f9 Just rely on global timeout. 2021-01-26 09:55:38 -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
Itamar Turner-Trauring
49300ccc4e Merge remote-tracking branch 'origin/master' into 3584.integration-tests-sftp 2021-01-26 09:53:51 -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
Sajith Sasidharan
c22cf5065a
Merge pull request #954 from tahoe-lafs/3536.sphinx-warnings
Fix some Sphinx warnings

Fixes: ticket:3536
2021-01-25 19:06:50 -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
Jean-Paul Calderone
b139876a15 Merge remote-tracking branch 'origin/master' into 3536.sphinx-warnings 2021-01-25 10:52:34 -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
Jean-Paul Calderone
e0fa228622 expand partial/lambda into full functions for clarity 2021-01-25 08:23:40 -05:00
Jean-Paul Calderone
5a0c913f58 document the new parameter 2021-01-25 08:21:39 -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
f62b6d83c2 Merge branch '3590.error-in-integration-test' into 3596.test-web-python-3-even-more 2021-01-21 14:01:54 -05:00
Itamar Turner-Trauring
411ee141e9 Fix location for news fragment. 2021-01-21 13:55:51 -05:00
Itamar Turner-Trauring
db22291660 Try to minimally workaround issues causing Windows to block when writing logs. 2021-01-21 13:54:22 -05:00
Itamar Turner-Trauring
0902c8e156 Merge remote-tracking branch 'origin/master' into 3584.integration-tests-sftp 2021-01-21 13:34:51 -05:00
Itamar Turner-Trauring
23e52b1237 Simplify the unit test. 2021-01-21 09:58:58 -05:00
Jean-Paul Calderone
9c91261fa6 news fragment 2021-01-20 13:57:01 -05:00
Jean-Paul Calderone
12087738d6 Switch from fireEventually to until 2021-01-20 13:54:37 -05:00
Itamar Turner-Trauring
f8e548dc92
Merge pull request #966 from tahoe-lafs/3589.more-web-tests-python-3
Port more web tests to Python 3

Fixes ticket:3589
2021-01-20 13:38:22 -05:00
Jean-Paul Calderone
932481ad47 A helper for doing something repeatedly for a while 2021-01-20 12:58:03 -05:00
Jean-Paul Calderone
f75f71cba6 news fragment 2021-01-20 11:23:35 -05:00
Jean-Paul Calderone
8be3678cb4 Directly test read_encrypted behavior 2021-01-20 11:22:22 -05:00
Sajith Sasidharan
73299d253e
Merge pull request #967 from sajith/3591.use-pip-cache-in-github-actions
Use pip cache in GitHub Actions

Fixes: ticket:3591
2021-01-20 09:57:37 -05:00
Itamar Turner-Trauring
53243540cc News file. 2021-01-19 17:15:58 -05:00
Itamar Turner-Trauring
7d2aa50894 when_done is bad, at least here. 2021-01-19 17:15:07 -05:00
Itamar Turner-Trauring
e91d37e64b Fix unit test so it's actually testing the real bug. 2021-01-19 17:13:52 -05:00