Home
last modified time | relevance | path

Searched refs:capsys (Results 1 – 25 of 583) sorted by relevance

12345678910>>...24

/dports/devel/py-flake8/flake8-4.0.1/tests/integration/
H A Dtest_main.py19 def test_diff_option(tmpdir, capsys): argument
50 out, err = capsys.readouterr()
108 out, err = capsys.readouterr()
125 out, err = capsys.readouterr()
135 out, err = capsys.readouterr()
148 out, err = capsys.readouterr()
179 out, err = capsys.readouterr()
199 out, err = capsys.readouterr()
217 out, err = capsys.readouterr()
225 out, err = capsys.readouterr()
[all …]
/dports/astro/py-astropy/astropy-5.0/astropy/table/tests/
H A Dtest_showtable.py12 def test_missing_file(capsys): argument
14 out, err = capsys.readouterr()
19 def test_info(capsys): argument
29 def test_stats(capsys): argument
45 def test_fits(capsys): argument
55 def test_fits_hdu(capsys): argument
66 def test_csv(capsys): argument
98 def test_votable(capsys): argument
113 def test_max_lines(capsys): argument
130 def test_show_dtype(capsys): argument
[all …]
/dports/sysutils/py-plumbum/plumbum-1.7.1/tests/
H A Dtest_terminal.py34 def test_simple(self, capsys): argument
39 def test_try_twice(self, capsys): argument
48 def test_default(self, capsys): argument
53 def test_typefail(self, capsys): argument
58 def test_validator(self, capsys): argument
67 def test_ask(self, capsys): argument
75 capsys.readouterr()[0]
79 def test_choose(self, capsys): argument
86 capsys.readouterr()[0]
99 capsys.readouterr()[0]
[all …]
/dports/sysutils/py-diffoscope/diffoscope-204/tests/
H A Dtest_main.py32 def run(capsys, *args): argument
36 out, err = capsys.readouterr()
41 def test_non_existing_files(capsys): argument
87 ret, _, _ = run(capsys, *TEST_TARS)
105 ret, _, err = run(capsys, *TEST_TARS)
112 def test_no_differences(capsys): argument
135 def test_list_tools(capsys): argument
144 def test_list_missing_tools(capsys): argument
154 def test_profiling(capsys): argument
162 def test_non_unicode_filename(capsys, tmpdir): argument
[all …]
H A Dtest_excludes.py25 def run(capsys, *args): argument
35 out, err = capsys.readouterr()
42 def test_none(capsys): argument
43 ret, out = run(capsys)
50 def test_all(capsys): argument
51 ret, out = run(capsys, "--exclude=*")
57 def test_specific(capsys): argument
65 def test_specific_case(capsys): argument
73 def test_multiple(capsys): argument
81 def test_nomatch(capsys): argument
[all …]
H A Dtest_presenters.py47 out, err = capsys.readouterr()
54 def run_images(capsys, *args): argument
83 out = run(capsys)
95 def test_text_option_color(capsys): argument
113 out = run(capsys, "--text", "-")
118 def test_markdown(capsys): argument
124 def test_restructuredtext(capsys): argument
130 def test_json(capsys): argument
136 def test_no_report_option(capsys): argument
137 out = run(capsys)
[all …]
/dports/net/py-suds-community/suds-community-1.0.0/tests/
H A Dtest_compare_sax.py53 def test_failed_parsing(data, capsys): argument
55 assert_no_output(capsys)
62 def test_empty_document(self, capsys): argument
66 assert_no_output(capsys)
85 assert_no_output(capsys)
93 assert_no_output(capsys)
96 def test_xml_encoding(self, capsys): argument
102 assert_no_output(capsys)
234 assert_no_output(capsys)
237 def _assert_context_output(capsys, context): argument
[all …]
/dports/net-im/toot/toot-0.28.0/tests/
H A Dtest_console.py25 def test_print_usage(capsys): argument
27 out, err = capsys.readouterr()
52 out, err = capsys.readouterr()
88 out, err = capsys.readouterr()
100 out, err = capsys.readouterr()
104 def test_post_invalid_media(capsys): argument
110 out, err = capsys.readouterr()
120 out, err = capsys.readouterr()
144 out, err = capsys.readouterr()
185 out, err = capsys.readouterr()
[all …]
/dports/databases/pgbarman/barman-release-2.17/tests/
H A Dtest_output.py620 def test_debug(self, capsys): argument
740 def test_warning(self, capsys): argument
770 def test_error(self, capsys): argument
800 def test_exception(self, capsys): argument
1265 def test_debug(self, capsys): argument
1416 def test_warning(self, capsys): argument
1458 def test_error(self, capsys): argument
1844 def test_debug(self, capsys): argument
1904 def test_info(self, capsys): argument
1934 def test_warning(self, capsys): argument
[all …]
/dports/www/py-flask-script/Flask-Script-2.0.6/
H A Dtests.py266 out, err = capsys.readouterr()
280 out, err = capsys.readouterr()
296 out, err = capsys.readouterr()
311 out, err = capsys.readouterr()
315 out, err = capsys.readouterr()
319 out, err = capsys.readouterr()
323 out, err = capsys.readouterr()
326 def test_no_help(self, capsys): argument
341 out, err = capsys.readouterr()
346 out, err = capsys.readouterr()
[all …]
/dports/www/qutebrowser/qutebrowser-2.4.0/tests/unit/scripts/
H A Dtest_importer.py76 def test_chrome_bookmarks(capsys): argument
79 imported = capsys.readouterr()[0]
83 def test_chrome_quickmarks(capsys): argument
86 imported = capsys.readouterr()[0]
90 def test_chrome_searches(capsys): argument
97 def test_html_bookmarks(capsys): argument
104 def test_html_quickmarks(capsys): argument
111 def test_html_searches(capsys): argument
118 def test_mozilla_bookmarks(capsys): argument
125 def test_mozilla_quickmarks(capsys): argument
[all …]
/dports/security/py-pyspnego/pyspnego-0.3.1/tests/
H A Dtest_main.py26 def test_parse_with_hex(capsys): argument
31 actual_out = capsys.readouterr()
41 def test_parse_with_file(capsys): argument
46 actual_out = capsys.readouterr()
154 def test_ntlm_negotiate(capsys): argument
207 def test_ntlm_challenge(capsys): argument
591 def test_krb_as_rep(capsys): argument
645 def test_krb_as_req(capsys): argument
705 def test_krb_error(capsys): argument
736 def test_krb_tgs_rep(capsys): argument
[all …]
/dports/astro/py-astropy/astropy-5.0/astropy/io/fits/tests/
H A Dtest_fitsheader.py17 def test_version(self, capsys): argument
20 out = capsys.readouterr()[0]
24 def test_file_exists(self, capsys): argument
26 out, err = capsys.readouterr()
31 def test_by_keyword(self, capsys): argument
33 out, err = capsys.readouterr()
38 out, err = capsys.readouterr()
47 out, err = capsys.readouterr()
53 out, err = capsys.readouterr()
68 def test_table(self, capsys): argument
[all …]
/dports/dns/py-dns-lexicon/dns-lexicon-3.8.3/lexicon/tests/
H A Dtest_output.py24 def assert_correct_output(capsys, expected_output_lines): argument
25 out, _ = capsys.readouterr()
29 def test_output_function_outputs_json_as_table(capsys): argument
38 assert_correct_output(capsys, expected_output_lines)
48 assert_correct_output(capsys, expected_output_lines)
54 out, _ = capsys.readouterr()
60 def test_output_function_output_nothing_when_quiet(capsys): argument
64 assert_correct_output(capsys, expected_output_lines)
71 assert_correct_output(capsys, expected_output_lines)
74 assert_correct_output(capsys, expected_output_lines)
[all …]
/dports/devel/py-isort/isort-5.10.1/tests/unit/
H A Dtest_main.py63 out, error = capsys.readouterr()
85 def test_ascii_art(capsys): argument
87 out, error = capsys.readouterr()
114 def test_show_files(capsys, tmpdir): argument
120 out, error = capsys.readouterr()
155 def test_main(capsys, tmpdir): argument
168 out, error = capsys.readouterr()
469 _, error = capsys.readouterr()
477 def test_isort_with_stdin(capsys): argument
1284 out, _ = capsys.readouterr()
[all …]
/dports/devel/py-doit/doit-0.31.1/tests/
H A Dtest_cmd_help.py13 def test_help_usage(self, capsys): argument
16 out, err = capsys.readouterr()
22 out, err = capsys.readouterr()
25 def test_help_plugin_name(self, capsys): argument
31 out, err = capsys.readouterr()
38 out, err = capsys.readouterr()
41 def test_help_cmd(self, capsys): argument
44 out, err = capsys.readouterr()
53 out, err = capsys.readouterr()
62 out, err = capsys.readouterr()
[all …]
/dports/devel/py-dask/dask-2021.11.2/dask/diagnostics/tests/
H A Dtest_progress.py15 out, err = capsys.readouterr()
22 def test_array_compute(capsys): argument
29 check_bar_completed(capsys)
32 def test_progressbar(capsys): argument
36 check_bar_completed(capsys)
42 def test_minimum_time(capsys): argument
69 def test_register(capsys): argument
87 def test_no_tasks(capsys): argument
90 check_bar_completed(capsys)
93 def test_with_cache(capsys): argument
[all …]
/dports/devel/py-loguru/loguru-0.5.3/tests/
H A Dtest_coroutine_sink.py25 def test_coroutine_function(capsys): argument
34 out, err = capsys.readouterr()
39 def test_async_callable_sink(capsys): argument
48 out, err = capsys.readouterr()
66 out, err = capsys.readouterr()
83 out, err = capsys.readouterr()
100 out, err = capsys.readouterr()
117 out, err = capsys.readouterr()
134 out, err = capsys.readouterr()
149 out, err = capsys.readouterr()
[all …]
/dports/www/py-internetarchive/internetarchive-2.2.0/tests/cli/
H A Dtest_ia_list.py19 def test_ia_list(capsys, nasa_mocker): argument
21 out, err = capsys.readouterr()
28 out, err = capsys.readouterr()
37 out, err = capsys.readouterr()
46 out, err = capsys.readouterr()
50 def test_ia_list_columns(capsys): argument
56 out, err = capsys.readouterr()
63 out, err = capsys.readouterr()
69 out, err = capsys.readouterr()
76 out, err = capsys.readouterr()
[all …]
/dports/www/py-django-extensions/django-extensions-3.0.5/tests/management/commands/
H A Dtest_print_settings.py7 def test_without_args(capsys): argument
10 out, err = capsys.readouterr()
15 def test_with_setting_args(capsys): argument
18 out, err = capsys.readouterr()
23 def test_with_setting_wildcard(capsys): argument
26 out, err = capsys.readouterr()
32 def test_with_setting_fail(capsys): argument
45 out, err = capsys.readouterr()
52 def test_format(capsys): argument
59 out, err = capsys.readouterr()
[all …]
H A Dtest_export_emails.py35 def test_do_export_emails_stdout_start(capsys): argument
39 out, err = capsys.readouterr()
44 def test_do_export_emails_stdout_end(capsys): argument
48 out, err = capsys.readouterr()
57 out, err = capsys.readouterr()
62 def test_do_export_emails_address(capsys): argument
66 out, err = capsys.readouterr()
75 out, err = capsys.readouterr()
84 out, err = capsys.readouterr()
95 out, err = capsys.readouterr()
[all …]
/dports/java/java-subversion/subversion-1.14.1/tools/client-side/
H A Dsvnviewspec_test.py73 sys_out_lines, sys_err_lines = capsys.readouterr()
104 sys_out_lines, sys_err_lines = capsys.readouterr()
127 sys_out_lines, sys_err_lines = capsys.readouterr()
150 sys_out_lines, sys_err_lines = capsys.readouterr()
173 sys_out_lines, sys_err_lines = capsys.readouterr()
203 sys_out_lines, sys_err_lines = capsys.readouterr()
231 def test_that_viewspec_prints_help(capsys): argument
234 sys_out_lines, sys_err_lines = capsys.readouterr()
270 sys_out_lines, sys_err_lines = capsys.readouterr()
304 def test_that_viewspec_prints_help_format(capsys): argument
[all …]
/dports/devel/py-subversion/subversion-1.14.1/tools/client-side/
H A Dsvnviewspec_test.py73 sys_out_lines, sys_err_lines = capsys.readouterr()
104 sys_out_lines, sys_err_lines = capsys.readouterr()
127 sys_out_lines, sys_err_lines = capsys.readouterr()
150 sys_out_lines, sys_err_lines = capsys.readouterr()
173 sys_out_lines, sys_err_lines = capsys.readouterr()
203 sys_out_lines, sys_err_lines = capsys.readouterr()
231 def test_that_viewspec_prints_help(capsys): argument
234 sys_out_lines, sys_err_lines = capsys.readouterr()
270 sys_out_lines, sys_err_lines = capsys.readouterr()
304 def test_that_viewspec_prints_help_format(capsys): argument
[all …]
/dports/security/subversion-gnome-keyring/subversion-1.14.1/tools/client-side/
H A Dsvnviewspec_test.py73 sys_out_lines, sys_err_lines = capsys.readouterr()
104 sys_out_lines, sys_err_lines = capsys.readouterr()
127 sys_out_lines, sys_err_lines = capsys.readouterr()
150 sys_out_lines, sys_err_lines = capsys.readouterr()
173 sys_out_lines, sys_err_lines = capsys.readouterr()
203 sys_out_lines, sys_err_lines = capsys.readouterr()
231 def test_that_viewspec_prints_help(capsys): argument
234 sys_out_lines, sys_err_lines = capsys.readouterr()
270 sys_out_lines, sys_err_lines = capsys.readouterr()
304 def test_that_viewspec_prints_help_format(capsys): argument
[all …]
/dports/devel/p5-subversion/subversion-1.14.1/tools/client-side/
H A Dsvnviewspec_test.py73 sys_out_lines, sys_err_lines = capsys.readouterr()
104 sys_out_lines, sys_err_lines = capsys.readouterr()
127 sys_out_lines, sys_err_lines = capsys.readouterr()
150 sys_out_lines, sys_err_lines = capsys.readouterr()
173 sys_out_lines, sys_err_lines = capsys.readouterr()
203 sys_out_lines, sys_err_lines = capsys.readouterr()
231 def test_that_viewspec_prints_help(capsys): argument
234 sys_out_lines, sys_err_lines = capsys.readouterr()
270 sys_out_lines, sys_err_lines = capsys.readouterr()
304 def test_that_viewspec_prints_help_format(capsys): argument
[all …]

12345678910>>...24