Itamar Turner-Trauring
43620a3c19
Port to Python 3.
2021-04-12 12:53:17 -04:00
Itamar Turner-Trauring
8512bdcd8d
Even more progress towards passing Python 3 tests.
2021-04-12 09:51:53 -04:00
Itamar Turner-Trauring
069fcb91eb
More progress towards passing Python 3 tests.
2021-04-12 09:35:34 -04:00
Itamar Turner-Trauring
d6406d5edb
Some progress towards passing backup tests on Python 3.
2021-04-07 10:44:48 -04:00
Itamar Turner-Trauring
74e9bdd476
No point in having separate module.
2021-04-05 12:56:42 -04:00
Sajith Sasidharan
c392a334fc
Pacify Python 3
...
`b"foo"` is `str` in Python 2, `bytes` in Python 3
2021-03-27 11:26:27 -04:00
Jean-Paul Calderone
7ce7cf7f24
Merge pull request #1016 from LeastAuthority/3650.tahoe-invite-regression
...
Fix regression in `tahoe invite` w/o shares parameters
Fixes: ticket:3650
2021-03-25 20:09:55 -04:00
Itamar Turner-Trauring
8099929dec
Merge pull request #1013 from tahoe-lafs/3647.more-cli-python-3
...
Port allmydata.test.cli.test_invite to Python 3
Fixes ticket:3647
2021-03-25 10:19:49 -04:00
Jean-Paul Calderone
00de3b9e7e
type cleanups
2021-03-24 13:54:10 -04:00
Jean-Paul Calderone
3963979fbd
Test and fix tahoe invite
w/o share arguments
2021-03-24 13:23:19 -04:00
Itamar Turner-Trauring
15d6ab610d
Port to Python 3.
2021-03-23 10:55:14 -04:00
Itamar Turner-Trauring
e140dc06ea
Tests pass on Python 3.
2021-03-23 10:53:53 -04:00
Itamar Turner-Trauring
4005d90024
Ensure the fake matches the real Wormhole interface.
2021-03-23 10:42:29 -04:00
Itamar Turner-Trauring
8396e9e24d
Port to Python 3.
2021-03-23 10:07:24 -04:00
Itamar Turner-Trauring
f0e634af4f
Move to correct directory.
2021-03-23 10:03:50 -04:00
Itamar Turner-Trauring
2dfaa3ac2f
Ported to Python 3.
2021-03-18 11:08:23 -04:00
Itamar Turner-Trauring
2f25950944
All tests pass on Python 3.
2021-03-18 11:00:49 -04:00
Itamar Turner-Trauring
919930173e
More progress towards Python 3.
2021-03-18 10:56:20 -04:00
Itamar Turner-Trauring
b7d6b97f63
Some progress towards passing tests on Python 3.
2021-03-18 10:42:15 -04:00
Itamar Turner-Trauring
34f1f43e95
Revert changes to tahoe_backup/test_backup for now.
2021-03-18 10:33:10 -04:00
Itamar Turner-Trauring
44374487c7
Some progress towards passing tests on Python 3.
2021-03-15 10:37:03 -04:00
Itamar Turner-Trauring
4d80177b18
Merge branch '3603.scripts' into 3634.cli-tests-python-3
2021-03-15 10:36:56 -04:00
Itamar Turner-Trauring
1fde7fc007
Fix import.
2021-03-15 09:58:31 -04:00
Itamar Turner-Trauring
876235382e
Port to Python 3.
2021-03-15 09:50:28 -04:00
Itamar Turner-Trauring
1c59d349ba
It was always bytes.
2021-03-15 09:42:18 -04:00
Itamar Turner-Trauring
7c2a0685bb
Port test_create.py to Python 3.
2021-03-12 11:22:19 -05:00
Itamar Turner-Trauring
4b0b3e9a4d
Port to Python 3.
2021-03-09 11:30:47 -05:00
Jean-Paul Calderone
216efb2aed
unused import
2021-01-12 16:52:43 -05:00
Jean-Paul Calderone
43dc85501f
is this api less troublesome?
2021-01-12 16:03:28 -05:00
Jean-Paul Calderone
6984f2be3f
Try to get the Python 2 / Windows case working
2021-01-12 15:58:07 -05:00
Jean-Paul Calderone
8f498437cf
whitespace
2021-01-12 10:11:23 -05:00
Jean-Paul Calderone
ae1a0c591b
Prefer to fix unicode_to_argv/argv_to_unicode instead of callers
2021-01-12 09:58:34 -05:00
Jean-Paul Calderone
b8abec6073
Get rid of the Latin-1 case
...
Here's a supposition: UTF-8 or bust
2021-01-11 16:00:48 -05:00
Jean-Paul Calderone
2306819db1
Get rid of unicode_to_argv and argv_to_unicode
2021-01-11 15:45:39 -05:00
Jean-Paul Calderone
b6ea3f47c8
unused imports
2020-12-14 16:58:22 -05:00
Jean-Paul Calderone
01507e4f93
some direct tests for DaemonizeTheRealService
2020-12-14 16:57:20 -05:00
Jean-Paul Calderone
34cd1efaa4
For the sake of clarity, stop talking about daemons here
2020-12-12 18:34:49 -05:00
Jean-Paul Calderone
b58b07a9d7
Fold run_common into tahoe_run since there are no other run-like commands anymore
2020-12-12 18:26:22 -05:00
Jean-Paul Calderone
624916e06b
Merge branch 'master' into 3550.remove-start-stop-restart-daemonize
2020-12-10 19:47:47 -05:00
Jean-Paul Calderone
066e98874b
Point at do_cli_unicode here too
2020-12-10 07:17:24 -05:00
Jean-Paul Calderone
2f53225765
better helper name
2020-12-10 07:06:01 -05:00
Jean-Paul Calderone
5b0190b9a1
Remove some more test code related to start/restart/stop
2020-12-09 10:51:48 -05:00
Jean-Paul Calderone
4d28b0ec27
Get rid of "tahoe start", "tahoe daemonize", "tahoe stop", "tahoe restart"
2020-12-09 10:51:48 -05:00
Jean-Paul Calderone
72744c9464
more docstrings and properly support (and use) encoding=None throughout
2020-12-07 09:47:48 -05:00
Jean-Paul Calderone
05d271c7c8
a little more exposition
2020-12-07 09:26:58 -05:00
Jean-Paul Calderone
7b3a5aceb8
These tests can't reach any of the codepaths where quote_output matters
...
So simplify
2020-12-07 09:21:56 -05:00
Jean-Paul Calderone
72a5b571ca
Only test the cases we can make work everywhere
...
These tests previously (in this branch) tried to exercise more ``show_output``
logic than they can actually reach due to the requirement that argv be
interpretable. Shrink the test suite down to just what we can squeeze through
argv and deal with fully testing ``show_output`` elsewhere.
2020-12-07 09:10:59 -05:00
Jean-Paul Calderone
93b30d0dde
The implementation can't reliably see the encoding we're faking without this
2020-12-07 09:06:21 -05:00
Jean-Paul Calderone
8ca98bb8ca
using run_cli_unicode, better expect unicode result
2020-12-07 09:06:00 -05:00
Jean-Paul Calderone
c12b082fa7
Put run_cli back largely how it was
...
Also deal with StringIO better in show_output
2020-12-06 20:37:28 -05:00