Commit Graph

12112 Commits

Author SHA1 Message Date
Itamar Turner-Trauring 8f1864842f Fix integration tests. 2021-01-11 15:23:17 -05:00
Jean-Paul Calderone 834abfe6bf _win_subprocess didn't actually export this 2021-01-11 15:09:25 -05:00
Jean-Paul Calderone c6d108ddb2 Make test_runner and test_windows both use the good Popen 2021-01-11 15:07:37 -05:00
Jean-Paul Calderone 73110f48da Banish getProcessOutputAndValue from test_runner
It cannot do the right thing on Windows for non-ASCII because Twisted uses
pywin32 and on Python 2 pywin32 binds CreateProcessA.
2021-01-11 14:56:46 -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
Itamar Turner-Trauring 6b2a999f8d Replace ckeygen with Paramiko library calls, since ckeygen doesn't work on Windows. 2021-01-11 14:02:45 -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