Commit Graph

11524 Commits

Author SHA1 Message Date
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
891ef3eefd news fragment 2021-01-09 18:19:04 -05:00
Jean-Paul Calderone
b840d3fafb
Merge pull request #955 from tahoe-lafs/3582.port-blacklist
Port blacklist to Python 3

Fixes: ticket:3582
2021-01-08 12:01:01 -05:00
Chad Whitacre
fa15c2c8d6 Declare victory on blacklist 2021-01-05 06:45:32 -05:00
Chad Whitacre
dc5ac4a112
Merge pull request #946 from tahoe-lafs/3574.port-stats
Port stats to Python 3
2021-01-05 06:04:10 -05:00
Itamar Turner-Trauring
4683760ed8
Merge pull request #945 from tahoe-lafs/3566.web-tests-python-3-part-2
Port web tests to Python 3, part 2

Fixes ticket:3566
2021-01-04 15:40:52 -05:00
Jean-Paul Calderone
baaa48a6a6
Merge pull request #952 from LeastAuthority/3578.remove-encode_tail_segment
Remove `_encode_tail_segment`

Fixes: ticket:3578
2021-01-04 15:28:12 -05:00
Jean-Paul Calderone
3c203828c5 Merge remote-tracking branch 'origin/master' into 3578.remove-encode_tail_segment 2021-01-04 15:08:27 -05:00
Jean-Paul Calderone
7a504dd99f
Merge pull request #936 from LeastAuthority/3534.test_introducer-no-mock
Remove mock from test_introducer

Fixes: ticket:3534
2021-01-04 15:06:29 -05:00
Jean-Paul Calderone
08bb06701a
Merge pull request #948 from LeastAuthority/3575.realistic_storage_index_hash-key
Test storage_index_hash with a realistic key

Fixes: ticket:3575
2021-01-04 15:01:53 -05:00
Itamar Turner-Trauring
bc19ccc77a Use method that already does this. 2021-01-04 14:36:02 -05:00
Itamar Turner-Trauring
961ad123cc Better name. 2021-01-04 14:35:33 -05:00
Itamar Turner-Trauring
6f0838e2e9 Docstring. 2021-01-04 14:34:18 -05:00
Itamar Turner-Trauring
d7db34f27a Add explanation for if statement. 2021-01-04 14:33:06 -05:00
Itamar Turner-Trauring
a46a7dc7f8 Log, don't raise. 2021-01-04 14:23:12 -05:00
Jean-Paul Calderone
af06bdb182 Merge remote-tracking branch 'origin/master' into 3575.realistic_storage_index_hash-key 2021-01-04 14:14:13 -05:00