2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-29 04:47:42 +00:00

24 Commits

Author SHA1 Message Date
Pablo Martin
c79ed9c5b0
Merge remote-tracking branch 'origin/develop' into task/CMD-581_have_log_lines_forwarded_to_client_written_in_stderr
Conflicts:
	src/comunicationsmanagernamedpipes.cpp <- manual gather UTF8
macros
2025-03-07 07:51:35 +01:00
Diego Ximenez
9ca1982e6a
Add cat -o python tests for ascii and utf-8 strings 2025-02-20 18:40:52 +01:00
Pablo Martin
4dbd6d9f26
and missing parenthesis 2025-01-28 17:01:29 +01:00
Pablo Martin
d7a2be862b
fix regexp that determines stderr lines in python tests when launching with shell 2025-01-28 16:58:21 +01:00
Pablo Martin
4a1e50ba62
python tests adjustments after stderr usage 2025-01-28 14:53:19 +01:00
Diego Ximenez
dc98aef3c4
Do not expect prompt to appear before the quit command string 2024-12-23 14:45:10 +01:00
Diego Ximenez
e35de78a61
Wait for the shell prompt after the command in shell python tests 2024-12-23 14:13:36 +01:00
Diego Ximenez
7802308aca
Use the quit command instead of Ctrl+D to stop the shell in python tests 2024-12-17 18:34:53 +01:00
Diego Ximenez
128751dd38
Improve robustness when parsing shell output in python tests 2024-12-17 17:46:24 +01:00
Diego Ximenez
791f0467e4
Use pexpect to control the MEGAcmd shell in python tests
This library allows us to set the shell dimensions, so commands don't
get truncated (some tests were failing before because this was
happening). It also allows us to more reliably control the shell.
2024-12-11 12:32:24 +01:00
Diego Ximenez
25dca4b86b
Simplify global variable usage in python tests 2024-12-11 12:15:58 +01:00
Diego Ximenez
ba3d521252
Fix mega client path in Python tests on Windows 2024-11-05 14:46:11 +01:00
Diego Ximenez
67972c153d
Unify command names on python tests across platforms and scripts 2024-11-05 11:51:34 +01:00
Diego Ximenez
7f53be4ec9
Use print instead of logging module in Python tests 2024-10-08 00:02:22 +02:00
Vibhav Pant
5e35b3599e
Add an env var to confirm from the user that the MEGA account will get cleared 2024-03-13 17:17:34 +05:30
Vibhav Pant
fce1cd93d4
Port python tests to Python 3. 2024-02-07 19:55:35 +05:30
Pablo Martin
67cdcff4a3
some miscellaneous fixes
fix bash completion: ignore --client-width parameter for completion
command
fix issue with put and non escaped `\ ` when checking local path
fix ftp list in tests (we are now returning `.` too)
2020-02-13 19:00:37 +01:00
Pablo Martin
06778d0079
add ftp tests
ensure imported node exists when retrieving its path
2018-09-05 20:48:36 +02:00
Pablo Martin
711426738a
added misc tests and fix others with wrong use of space 2018-06-14 17:19:51 +02:00
Pablo Martin
40c6a9888e
added try-catch to fix ssh initialization in case locale fails
minor fix in python tests
2017-11-15 19:55:56 +01:00
Pablo Martin
7e2fa14eef minor fix in python tests 2017-10-05 13:25:02 +02:00
Pablo Martin
b39ad36da3
support for test using MEGAcmdShell 2017-10-05 12:26:28 +02:00
Pablo Martin
9f8960fde2 added put and rm python tests 2017-10-03 14:32:22 +02:00
Pablo Martin
4365e64da9 added get tests in python
refactored common python code for tests
2017-09-29 14:32:40 +02:00