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
|
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
|
12087738d6
|
Switch from fireEventually to until
|
2021-01-20 13:54:37 -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
|
8be3678cb4
|
Directly test read_encrypted behavior
|
2021-01-20 11:22:22 -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 |
|
Jean-Paul Calderone
|
11e4bcf476
|
Add a direct unit test for FileHandle.get_encryption_key
|
2021-01-19 14:41:58 -05:00 |
|
Itamar Turner-Trauring
|
6979cfa205
|
Fix the redirect 'str has no render' bug.
|
2021-01-19 14:28:00 -05:00 |
|
Itamar Turner-Trauring
|
3166545509
|
Unit test reproducing the bug in the integration test.
|
2021-01-19 13:52:12 -05:00 |
|
Itamar Turner-Trauring
|
2de76cd82d
|
Merge branch 'master' into 3589.more-web-tests-python-3
|
2021-01-19 11:44:27 -05:00 |
|
Jason R. Coombs
|
7d468cde19
|
Merge branch 'master' into 3399.mypy
|
2021-01-15 11:17:47 -05:00 |
|
Itamar Turner-Trauring
|
42b31a2809
|
Fix flake.
|
2021-01-14 15:58:18 -05:00 |
|
Itamar Turner-Trauring
|
a2dab7c89f
|
Only do this on Python 3.
|
2021-01-14 09:40:10 -05:00 |
|
Itamar Turner-Trauring
|
60acad32ca
|
Merge remote-tracking branch 'origin/master' into 3589.more-web-tests-python-3
|
2021-01-14 09:39:18 -05:00 |
|
Itamar Turner-Trauring
|
c5669e16e0
|
Fix flake.
|
2021-01-13 09:56:08 -05:00 |
|
Itamar Turner-Trauring
|
aace119790
|
Fix Python 3 issue with combining bytes and unicode.
|
2021-01-13 09:55:54 -05:00 |
|
Itamar Turner-Trauring
|
5d77282784
|
Ported to Python 3.
|
2021-01-12 14:40:33 -05:00 |
|
Itamar Turner-Trauring
|
7a3e9ab43e
|
Tests pass on Python 3.
|
2021-01-12 14:39:20 -05:00 |
|
Itamar Turner-Trauring
|
03fb936716
|
Port to Python 3.
|
2021-01-12 14:25:16 -05:00 |
|
Itamar Turner-Trauring
|
4940da47da
|
Tests pass on Python 3.
|
2021-01-12 14:24:17 -05:00 |
|
Itamar Turner-Trauring
|
c076e1ee26
|
Just fix all the putChild.
|
2021-01-12 14:24:11 -05:00 |
|
Itamar Turner-Trauring
|
8c41f60fdb
|
Port to Python 3.
|
2021-01-12 14:17:38 -05:00 |
|
Itamar Turner-Trauring
|
bd364feec5
|
Tests pass on Python 3.
|
2021-01-12 14:14:52 -05:00 |
|
Itamar Turner-Trauring
|
7e5e329138
|
Port to Python 3.
|
2021-01-12 11:44:27 -05:00 |
|
Itamar Turner-Trauring
|
c2d69c5309
|
Merge all log tests into one test module.
|
2021-01-12 11:41:19 -05:00 |
|
Itamar Turner-Trauring
|
d99c94753c
|
On Python 3 we need to make sure bytes get written to the websocket.
|
2021-01-12 11:38:37 -05:00 |
|
Itamar Turner-Trauring
|
116c59142d
|
Port to Python 3.
|
2021-01-12 11:26:43 -05:00 |
|
Itamar Turner-Trauring
|
f717250ecd
|
Merge remote-tracking branch 'origin/master' into 3576.port-unknown
|
2021-01-12 11:07:15 -05:00 |
|
Itamar Turner-Trauring
|
8f1864842f
|
Fix integration tests.
|
2021-01-11 15:23:17 -05:00 |
|
Jean-Paul Calderone
|
41d7548527
|
typo
|
2021-01-11 14:16:02 -05:00 |
|
Jean-Paul Calderone
|
a4c520ec2a
|
try to go faster without losing coverage
|
2021-01-11 14:11:28 -05:00 |
|
Itamar Turner-Trauring
|
1b1d87f9f9
|
Merge branch '3584.integration-tests-sftp' into 3579.ftp-python-3
|
2021-01-11 14:05:07 -05:00 |
|
Jean-Paul Calderone
|
a29b061f91
|
explain the nested import
|
2021-01-11 14:04:20 -05:00 |
|
Jean-Paul Calderone
|
e6ee13d11b
|
Shovel code around a bit more
|
2021-01-11 14:03:11 -05:00 |
|
Jean-Paul Calderone
|
9d7b12292c
|
Get rid of FILE_TYPE_REMOTE
|
2021-01-11 13:56:42 -05:00 |
|
Itamar Turner-Trauring
|
ce58f63040
|
Merge remote-tracking branch 'origin/master' into 3584.integration-tests-sftp
|
2021-01-11 13:55:03 -05:00 |
|
Jean-Paul Calderone
|
ad48e6c005
|
See if we can use pywin32 GetFileType
|
2021-01-11 13:54:04 -05:00 |
|
Itamar Turner-Trauring
|
4a7da34a6a
|
Merge pull request #958 from tahoe-lafs/3583.rip-out-ftp
Rip out FTP support
Fixes ticket:3583
|
2021-01-11 13:54:00 -05:00 |
|
Jean-Paul Calderone
|
52896432e1
|
it cannot return None
|
2021-01-11 13:41:54 -05:00 |
|
Jean-Paul Calderone
|
184b9735b5
|
another constant we can get from pywin32
|
2021-01-11 13:41:48 -05:00 |
|
Jean-Paul Calderone
|
5c6e5970c9
|
get this from pywin32 too
|
2021-01-11 13:36:12 -05:00 |
|
Jean-Paul Calderone
|
cca0071cbf
|
these aren't win32 specific
|
2021-01-11 13:36:04 -05:00 |
|
Jean-Paul Calderone
|
f61103aa80
|
spell the module name right
|
2021-01-11 13:22:14 -05:00 |
|
Jean-Paul Calderone
|
f5bcd272b8
|
skip the other test suite too
|
2021-01-11 12:58:27 -05:00 |
|
Jean-Paul Calderone
|
6de392fd23
|
blacklist a couple more
|
2021-01-11 12:43:30 -05:00 |
|
Jean-Paul Calderone
|
fd223136db
|
Avoid breaking non-Windows with test_windows
|
2021-01-11 12:42:52 -05:00 |
|
Jean-Paul Calderone
|
ed713182e7
|
docstring
|
2021-01-11 12:31:13 -05:00 |
|
Jean-Paul Calderone
|
dc5ed66815
|
docstring
|
2021-01-11 12:31:08 -05:00 |
|
Jean-Paul Calderone
|
ad2df670e6
|
try using pywin32 for GetStdHandle
|
2021-01-11 11:51:01 -05:00 |
|
Jean-Paul Calderone
|
1751d682a2
|
is this cool?
|
2021-01-11 11:46:40 -05:00 |
|
Jean-Paul Calderone
|
112bfaf625
|
we would like this to be utf-8 corresponding to the inputs
|
2021-01-11 11:42:27 -05:00 |
|
Jean-Paul Calderone
|
ab1f6f3a59
|
clean up this noise
|
2021-01-11 11:39:56 -05:00 |
|
Jean-Paul Calderone
|
4e9bdfeee4
|
please just always work?
|
2021-01-11 11:38:25 -05:00 |
|
Jean-Paul Calderone
|
14caaa360c
|
different debug
|
2021-01-11 11:33:09 -05:00 |
|
Jean-Paul Calderone
|
a4061619dc
|
shuffle code around a lot
|
2021-01-11 11:32:12 -05:00 |
|
Jean-Paul Calderone
|
3adfb2a108
|
let it be slow
|
2021-01-11 11:17:57 -05:00 |
|
Jean-Paul Calderone
|
f4a1a6fd97
|
get rid of this noise
|
2021-01-11 11:16:49 -05:00 |
|
Jean-Paul Calderone
|
23d1d76242
|
get the name
|
2021-01-11 11:16:23 -05:00 |
|
Jean-Paul Calderone
|
8fa1b6bb1e
|
make stdout/stderr available
|
2021-01-11 11:15:47 -05:00 |
|
Jean-Paul Calderone
|
504b2f5b1f
|
get the syntax right
|
2021-01-11 11:15:20 -05:00 |
|
Jean-Paul Calderone
|
221f1640a5
|
make the container
|
2021-01-11 11:14:32 -05:00 |
|
Jean-Paul Calderone
|
08d56c87b4
|
that was silly
|
2021-01-11 11:13:45 -05:00 |
|
Jean-Paul Calderone
|
a0aa3fe296
|
try testing UnicodeOutput
|
2021-01-11 11:12:12 -05:00 |
|
Jean-Paul Calderone
|
6d499dea53
|
exclude nul from the tested argv values
|
2021-01-11 10:31:37 -05:00 |
|
Jean-Paul Calderone
|
c2e8d94a73
|
don't fail this test because it is slow
|
2021-01-11 10:24:25 -05:00 |
|
Jean-Paul Calderone
|
33f84412b4
|
maybe pywin32 GetCommandLine is not really GetCommandLineW
|
2021-01-11 10:19:17 -05:00 |
|
Jean-Paul Calderone
|
389d70a682
|
see if GetCommandLine() value is interesting
|
2021-01-11 10:17:02 -05:00 |
|
Jean-Paul Calderone
|
e2f3964451
|
okay this is indeed the expected
|
2021-01-11 10:09:54 -05:00 |
|
Jean-Paul Calderone
|
42f1930914
|
disambiguate this a bit
|
2021-01-11 10:08:15 -05:00 |
|
Jean-Paul Calderone
|
30c79bf678
|
make sure executable is unicode too, if that matters
|
2021-01-11 09:51:36 -05:00 |
|
Jean-Paul Calderone
|
b5f0e21ef8
|
testtools convention - actual value comes first
|
2021-01-10 20:19:15 -05:00 |
|
Jean-Paul Calderone
|
3bde012ea1
|
Create a better expectation
If we pass all this stuff to Popen we should expect to see it from get_argv() right?
|
2021-01-10 20:18:00 -05:00 |
|
Jean-Paul Calderone
|
28435d65c1
|
test the SUT
|
2021-01-10 20:16:25 -05:00 |
|
Jean-Paul Calderone
|
360b20a981
|
FilePath again
|
2021-01-10 20:14:05 -05:00 |
|
Jean-Paul Calderone
|
77c9a2c2f5
|
make the failures a little nicer
|
2021-01-10 20:13:17 -05:00 |
|
Jean-Paul Calderone
|
18de71666f
|
try to work-around bugs in the Popen hotfix
|
2021-01-10 20:10:34 -05:00 |
|
Jean-Paul Calderone
|
a21b66e775
|
FilePath again
|
2021-01-10 20:06:07 -05:00 |
|
Jean-Paul Calderone
|
e64a4c6426
|
Attempt to use a parent-side API that supports unicode properly
|
2021-01-10 19:59:22 -05:00 |
|
Jean-Paul Calderone
|
6091ca2164
|
try to get the child source right
|
2021-01-10 11:23:19 -05:00 |
|
Jean-Paul Calderone
|
b02b930eed
|
do better with paths
|
2021-01-10 11:22:00 -05:00 |
|
Jean-Paul Calderone
|
a73668a056
|
this doesn't take a list
|
2021-01-10 11:21:13 -05:00 |
|
Jean-Paul Calderone
|
b3a6f25c1c
|
Python 2 gets an old version with no CommandLineToArgv
Thanks.
|
2021-01-10 11:01:30 -05:00 |
|
Jean-Paul Calderone
|
6b621efef2
|
Turns out there is also CommandLineToArgv
just not CommandLineToArgvW, but that's fine.
|
2021-01-10 10:48:49 -05:00 |
|
Jean-Paul Calderone
|
24f3d74fdf
|
Fix the skip
|
2021-01-10 10:48:40 -05:00 |
|
Jean-Paul Calderone
|
e80bd6894f
|
Take a first attempt at testing the argv logic directly
|
2021-01-10 10:39:51 -05:00 |
|
Jean-Paul Calderone
|
d78e72595a
|
Use SetErrorMode and related constants from pywin32
|
2021-01-09 18:19:09 -05:00 |
|
Jean-Paul Calderone
|
1ae0311e36
|
Merge pull request #949 from tahoe-lafs/port-webish
Port webish/test_webish to Python 3
Fixes: ticket:3577
|
2021-01-08 13:51:00 -05:00 |
|
Itamar Turner-Trauring
|
f71dcfe9fc
|
Lint.
|
2021-01-08 13:42:10 -05:00 |
|
Itamar Turner-Trauring
|
7a15f7e11d
|
Switch to modern (circa 2014!) Conch API.
|
2021-01-08 13:32:11 -05:00 |
|
Itamar Turner-Trauring
|
3b29a5f707
|
Work with new Unicode configs.
|
2021-01-07 11:59:23 -05:00 |
|
Itamar Turner-Trauring
|
308dbba924
|
Fix flake.
|
2021-01-07 09:20:39 -05:00 |
|
Itamar Turner-Trauring
|
7b1bfadd21
|
Rip out FTP.
|
2021-01-06 13:39:52 -05:00 |
|