Pablo Martin
4a1e50ba62
python tests adjustments after stderr usage
2025-01-28 14:53:19 +01:00
Diego Ximenez
9d55e1c9d9
Remove non-cmdshell restriction in as many python tests as possible
2024-12-11 16:02:25 +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
67972c153d
Unify command names on python tests across platforms and scripts
2024-11-05 11:51:34 +01:00
Diego Ximenez
a70b5162ef
Ensure Python tests have non-zero exit code on failure
2024-10-11 14:00:50 +02:00
Diego Ximenez
7f53be4ec9
Use print instead of logging module in Python tests
2024-10-08 00:02:22 +02:00
Vibhav Pant
c734a8e01d
Rename test_37 to test_38_download_file_from_inshare.
2024-03-14 17:34:21 +05:30
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
d1a0c44a4c
Put module initialization code in setUpModule.
2024-03-08 18:37:20 +05:30
Vibhav Pant
a76f104202
Rewrite python tests using unittests.
2024-03-07 19:30:21 +05:30
Vibhav Pant
9d70abbc5f
Use shutil.copytree instead of distutils.dir_util.copy_tree.
2024-03-05 22:05:43 +05:30
Vibhav Pant
cb35404d69
Fix error.
2024-02-26 21:26:00 +05:30
Vibhav Pant
fce1cd93d4
Port python tests to Python 3.
2024-02-07 19:55:35 +05:30
Diego Ximenez
13a217e7f2
Fix export -a
usage in Python tests
2023-12-15 13:58:47 +01:00
Pablo Martin
f1cdff3668
update submodule to HEAD of 4.16.0a (with fixes in zlib and wrongly reported error in isFolder)
...
Adjusted tests to use python2.7 explicitly
2023-03-03 16:15:53 +01:00
Pablo Martin
4df17f75eb
add support for addressing inshares with //from/
...
escape colon in completion to better support inshares completions
2019-09-11 14:33:34 +02:00
Pablo Martin
dd998535a8
added force export in automatic tests
2018-01-08 14:18:03 +01:00
Pablo Martin
b39ad36da3
support for test using MEGAcmdShell
2017-10-05 12:26:28 +02:00
Pablo Martin
4365e64da9
added get tests in python
...
refactored common python code for tests
2017-09-29 14:32:40 +02:00