Jean-Paul Calderone
b0fffabed0
remove unnecessary module-scope wormhole
...
used this during testing so the other mock() calls wouldn't explode in a
boring way
2022-04-12 14:10:02 -04:00
Jean-Paul Calderone
bc6dafa999
Replace monkey-patching of wormhole with a parameter to run_cli
2022-04-12 11:01:04 -04:00
meejah
18891d9e77
Merge remote-tracking branch 'security/master'
2021-12-02 14:44:59 -07:00
meejah
fc9671a812
simplify, flake9
2021-11-30 18:25:32 -07:00
meejah
0a4bc385c5
fix tests to use migrate command
2021-11-30 18:00:58 -07:00
meejah
3fd1ca8acb
it's an error to have pickle-format files
2021-11-30 16:00:35 -07:00
meejah
49f2489321
explicit 'migrate pickle files' command
2021-11-30 15:59:27 -07:00
Jean-Paul Calderone
0cd96ed713
fix the debug tool for the hashed lease secret case
2021-11-05 14:09:46 -04:00
Jean-Paul Calderone
5caa80fe38
use UseNode more in test_client.py
...
Also make write_introducer more lenient about filesystem state
2021-11-03 16:11:08 -04:00
Jean-Paul Calderone
39c4a2c4eb
tidy up some corners
2021-11-02 15:10:54 -04:00
Jean-Paul Calderone
1b46ac7a24
add MutableShareFile.is_valid_header and use it
2021-10-28 11:38:18 -04:00
Jean-Paul Calderone
66845c9a17
Add ShareFile.is_valid_header and use it instead of manual header inspection
2021-10-28 11:12:20 -04:00
Jean-Paul Calderone
70fb5d563a
Get rid of the public expiration_time attribute
...
LeaseInfo now has a getter and a setter for this attribute.
LeaseInfo is now also immutable by way of `attrs`.
LeaseInfo is now also comparable by way of `attrs`.
2021-10-28 09:48:26 -04:00
Jean-Paul Calderone
198de5c648
Hoist the sys.stdout import to top level
2021-09-22 15:53:56 -04:00
Jean-Paul Calderone
87113d6a13
Merge remote-tracking branch 'origin/master' into 3525.test_status-no-mock
2021-09-20 07:14:02 -04:00
Jean-Paul Calderone
3e3fd1aa75
on Windows, Python 3 wants to play
2021-09-08 14:25:30 -04:00
Jean-Paul Calderone
88d3ee5785
debug print
2021-09-08 13:43:47 -04:00
Jean-Paul Calderone
8ca1f8c335
Python 3 is grumpy that it doesn't get to play
...
Fool it
2021-09-07 16:19:15 -04:00
Jean-Paul Calderone
24e7dcfcd8
Let me write unicode to stdout on Python 2
2021-09-07 16:10:10 -04:00
Jean-Paul Calderone
4db8c2209b
lint
2021-09-07 15:17:18 -04:00
fenn-cs
cb81e13462
Merged masted
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-31 12:17:20 +01:00
fenn-cs
342a1c2c31
Python 3 support complete, so removed warning
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-29 16:10:30 +01:00
Jean-Paul Calderone
acc8cbd28b
Remove use of the mock module from test_status
2021-08-12 16:50:01 -04:00
Jean-Paul Calderone
893d21fcbb
Fix the UsageError closer in the Py2 codepath we already have for it
2021-08-11 16:46:29 -04:00
Jean-Paul Calderone
b56a956843
Sort out this gross error reporting encoding/decoding mess
...
A little, anyway
2021-08-11 15:42:21 -04:00
Jean-Paul Calderone
13dae392cb
Go with a shorter name
2021-08-11 14:41:18 -04:00
Jean-Paul Calderone
6931d10ace
Fix mis-merge: use argv parameter instead of sys.argv
2021-08-11 14:40:22 -04:00
Jean-Paul Calderone
fd3d3bc688
Give the py3 static checker something to resolve unicode
to
...
It's pretty much just a bug in the static checker. :/
2021-08-11 14:27:21 -04:00
Jean-Paul Calderone
d56c218586
Options are defined with unicode now; argv better be unicode.
2021-08-11 14:25:24 -04:00
Jean-Paul Calderone
5f6ae1f8f5
Fix mis-merge: don't try to stripe argv[0] twice
2021-08-11 13:30:52 -04:00
Jean-Paul Calderone
ffbcbf78a7
Send the warning to the parameterized stderr
2021-08-11 13:30:39 -04:00
Jean-Paul Calderone
9632b35abe
Fix mismerge: Put Py3 warning back
2021-08-11 13:19:15 -04:00
Jean-Paul Calderone
66d40527d1
Merge remote-tracking branch 'origin/master' into 3528.test_cli-no-mock
2021-08-11 12:56:00 -04:00
Itamar Turner-Trauring
83b4fb88f4
Merge pull request #1085 from tahoe-lafs/3738.failing-unicode-upload-regression-python-2
...
Fix bug where uploading files with Unicode filenames failed on Python 2
Fixes ticket:3738
2021-06-23 09:04:31 -04:00
Itamar Turner-Trauring
f778d25c44
Apply same fix to success path.
2021-06-15 14:05:49 -04:00
Itamar Turner-Trauring
e8308043e3
Method that doesn't break on Python 3.
2021-06-15 14:03:58 -04:00
Itamar Turner-Trauring
3461665ccf
Get rid of annoying warning.
2021-06-15 13:56:34 -04:00
Itamar Turner-Trauring
d74ef0798d
Fix quoting to work on Python 2.
2021-06-15 13:46:22 -04:00
Itamar Turner-Trauring
f48cf88f35
Fix flake.
2021-06-03 09:45:29 -04:00
Itamar Turner-Trauring
293cea6fd2
Port to Python 3.
2021-06-03 09:40:11 -04:00
Itamar Turner-Trauring
279d6b6542
Port to Python 3.
2021-06-03 09:39:13 -04:00
Itamar Turner-Trauring
cb1e591c6e
Port to Python 3.
2021-06-03 09:37:59 -04:00
Itamar Turner-Trauring
77676c1648
Port to Python 3.
2021-06-03 09:36:22 -04:00
Itamar Turner-Trauring
cf68f55039
Port to Python 3.
2021-06-03 09:34:42 -04:00
Itamar Turner-Trauring
58d6f9f6cf
Port to Python 3.
2021-06-03 09:28:10 -04:00
Itamar Turner-Trauring
53482dd8ac
Port to Python 3.
2021-06-03 09:26:24 -04:00
Itamar Turner-Trauring
a910ebcc8a
Fix flakes.
2021-06-02 11:31:32 -04:00
Itamar Turner-Trauring
defe16f912
Port to Python 3.
2021-06-02 11:30:19 -04:00
Itamar Turner-Trauring
9804a44c50
Port to Python 3.
2021-06-02 11:19:45 -04:00
Itamar Turner-Trauring
61fdea9043
Port to Python 3.
2021-06-02 10:19:30 -04:00