Commit Graph

73 Commits

Author SHA1 Message Date
Renato Alves
90e7f065e3 Fix failing test
The exception message is now only printed at high verbosity
2023-07-28 16:35:52 +02:00
Renato Alves
66c35a0531 Implement non-fatal password decrypting
Fixes #97
2023-07-26 22:18:03 +02:00
Renato Alves
a3daadc096 TST Better python interpreter version checking before testing 2021-12-29 16:02:09 +01:00
Renato Alves
f37f1541b7 TST Display encoding for troubleshooting 2021-04-15 05:13:29 +02:00
Renato Alves
b9db168150 TST Comment all output lines on non-zero exit
Non-zero exits are not expected in TAP and
could be caused by SyntaxError or other failures
that do not respect TAP output format.
2021-04-15 05:13:29 +02:00
Renato Alves
fbc8943ac6 TST Don't exit from tests on failure 2021-04-15 05:13:28 +02:00
Renato Alves
b9eed77905 TST Workaround /path vs \path failure in Windows
(cherry picked from commit e4c8f1fe3ddaba41342ce5b65893f8e64a20756b)
2021-04-15 05:13:28 +02:00
Renato Alves
084f9ba68c TST Skip pre-firefox-59 tests on Windows
and test firefox_59 profiles with and without password

(cherry picked from commit a60bef2c7042d62e9fe708b459f577b01fe0ecac)
2021-04-15 03:50:59 +02:00
Renato Alves
97638bd392 ENH Add a Firefox 59 nopassword profile
(cherry picked from commit f07661949bc914acf67b4fce198a24a1249631e0)
2021-04-15 03:50:55 +02:00
Renato Alves
cb828ceeeb TST Update copyright notice of simpletap framework 2021-04-14 19:28:48 +02:00
Renato Alves
2b85a6c2e3 TST Fix regex in non-raw string 2021-04-14 19:27:59 +02:00
Renato Alves
f605540184 TST Remove special handling of skipped tests 2021-04-14 19:26:41 +02:00
Renato Alves
3c8a34f7bb TST Treat skip and expected failures as ok 2021-04-14 19:26:18 +02:00
Renato Alves
90d9f27a77 TST Remove code present in stdlib 2021-04-14 19:24:07 +02:00
Renato Alves
f7f3299487 TST Correctly buffer stderr when directly writing to stderr from a subprocess 2021-04-14 19:23:21 +02:00
Renato Alves
6ab67ad1ee TST Handle possible failure due to bad timestamp 2021-04-14 19:22:00 +02:00
Renato Alves
fe69918f44 TST Don't test stderr in JSON tests 2021-04-14 19:21:29 +02:00
Renato Alves
3efca0045e TST Buffer output of tests in all cases 2021-04-14 19:20:11 +02:00
Renato Alves
aad0d4c286 TST Fix edge case failures in test framework 2021-04-14 19:19:11 +02:00
Renato Alves
25001565ab TST Return exitcode properly 2021-04-06 03:15:13 +02:00
Renato Alves
1c02e9542b TST Try to solve Windows test framework failures 2021-04-06 03:12:10 +02:00
Renato Alves
b77b5bb676 TST Update expected error message 2021-04-06 02:37:28 +02:00
Renato Alves
5a0ae1584f TST Don't test stderr in JSON tests 2021-04-06 02:37:04 +02:00
Renato Alves
d885cb727d TST Fix tests using outdated API 2021-04-06 02:36:39 +02:00
Renato Alves
557bb605d3 TST Add JSON tests 2020-06-01 00:31:03 +02:00
Renato Alves
a66e75cd94 TST Remove dates only from matching lines 2020-05-31 20:35:43 +02:00
Renato Alves
9dd6a3e857 TST Tests now require python 3 2018-12-10 04:47:33 +01:00
Renato Alves
aaf5351a73 TST Convert newer tests to python 2018-12-10 04:18:57 +01:00
Renato Alves
6f5ca15cfe Merge branch 'pytests' 2018-12-10 04:14:11 +01:00
Renato Alves
921d4433e3 MNT Remove bash_tap testing framework 2018-12-10 03:38:05 +01:00
Renato Alves
fcf4a4ea03 TST+BUG Convert version.t to python and fix obtaining internal version 2018-12-10 03:34:12 +01:00
Renato Alves
d0df33b211 TST Add workdir argument to run and run_error 2018-12-10 03:33:25 +01:00
Renato Alves
72f37d0196 TST Convert CSV tests to python 2018-12-10 03:24:36 +01:00
Renato Alves
cf9aedece3 TST Convert tabular test and expand to more scenarios 2018-12-10 03:03:44 +01:00
Renato Alves
3ae26c475e RFCT Simplify test class dependencies 2018-12-10 02:55:31 +01:00
Renato Alves
288de4841a TST Test failing to list profiles 2018-12-10 02:48:16 +01:00
Renato Alves
e7e819efd8 TST Convert profile_ini to python 2018-12-10 02:35:48 +01:00
Renato Alves
e66338f4c2 TST Remove redundant test 2018-12-10 01:35:17 +01:00
Renato Alves
2b25d97afa TST Refactor test execution to fix returncode checking
Tests now also require python 3.5+
2018-12-10 01:34:41 +01:00
Renato Alves
9337534f66 TST Convert non_interactive tests to python 2018-12-10 01:31:50 +01:00
Renato Alves
9a5b089620 RFCT Use inheritance to reduce code duplication 2018-12-09 18:57:17 +01:00
Renato Alves
391c09d680 MNT Add utf-8 encoding headers 2018-12-03 03:11:07 +01:00
Renato Alves
1f8f0583be TST Convert direct_profile* to python 2018-12-02 02:47:57 +01:00
Renato Alves
a8a29cd61f TST Add grep functionality 2018-12-02 02:36:13 +01:00
Renato Alves
bc7a900e7d RFCT+TST Convert single profile erroring tests 2018-09-19 10:15:39 +02:00
Renato Alves
5342ee9cef RFCT+TST Rename profile to include additional non-ascii characters 2018-05-19 13:58:32 +02:00
Renato Alves
1588927369 BUG+TST Handle profile paths with non-ASCII characters
fixes #27
ref #25
2018-05-17 20:30:00 +02:00
Renato Alves
f9e318fd8d TST Python3 compatibility when using subprocess
PY3 returns bytes and encoding= isn't valid in python 3.4.
So we have to explicitly call decode().
2018-05-09 01:55:55 +02:00
Renato Alves
6e11330c68 TST Support passing content via stdin and redirect stderr 2018-05-09 01:46:51 +02:00
Renato Alves
d7f0c8ce61 TST Initial conversion to Python based test framework 2018-05-09 00:47:33 +02:00