python/pyproject_installer: update to 0.5.5
[oi-userland.git] / components / python / python-dotenv / test / results-all.master
blob3ffce0de4119bf4c776524d6b317715719177f37
1 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
2 py$(PYV): commands[0]> python -m pytest --cov --cov-report=term-missing --cov-config setup.cfg
3 ============================= test session starts ==============================
4 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
5 cachedir: .tox/py$(PYV)/.pytest_cache
6 rootdir: $(@D)
7 configfile: setup.cfg
8 testpaths: tests
9 collecting ... collected 152 items
11 tests/test_cli.py::test_get_default_path PASSED
12 tests/test_cli.py::test_get_existing_value PASSED
13 tests/test_cli.py::test_get_non_existent_file PASSED
14 tests/test_cli.py::test_get_non_existent_value PASSED
15 tests/test_cli.py::test_get_not_a_file PASSED
16 tests/test_cli.py::test_list[None-x='a b c'-x=a b c\n] PASSED
17 tests/test_cli.py::test_list[export-x='a b c'-export x='a b c'\n] PASSED
18 tests/test_cli.py::test_list[json-x='a b c'-{\n  "x": "a b c"\n}\n] PASSED
19 tests/test_cli.py::test_list[shell-x="'a b c'"-x=''"'"'a b c'"'"''\n] PASSED
20 tests/test_cli.py::test_list[shell-x='"a b c"'-x='"a b c"'\n] PASSED
21 tests/test_cli.py::test_list[shell-x='a b c'-x='a b c'\n] PASSED
22 tests/test_cli.py::test_list[shell-x='a\nb\nc'-x='a\nb\nc'\n] PASSED
23 tests/test_cli.py::test_list[simple-x="'a b c'"-x='a b c'\n] PASSED
24 tests/test_cli.py::test_list[simple-x='"a b c"'-x="a b c"\n] PASSED
25 tests/test_cli.py::test_list[simple-x='a b c'-x=a b c\n] PASSED
26 tests/test_cli.py::test_list_no_file PASSED
27 tests/test_cli.py::test_list_non_existent_file PASSED
28 tests/test_cli.py::test_list_not_a_file PASSED
29 tests/test_cli.py::test_run PASSED
30 tests/test_cli.py::test_run_with_existing_variable PASSED
31 tests/test_cli.py::test_run_with_existing_variable_not_overridden PASSED
32 tests/test_cli.py::test_run_with_invalid_cmd PASSED
33 tests/test_cli.py::test_run_with_none_value PASSED
34 tests/test_cli.py::test_run_with_other_env PASSED
35 tests/test_cli.py::test_run_with_version PASSED
36 tests/test_cli.py::test_run_without_cmd PASSED
37 tests/test_cli.py::test_set_export[dotenv_path0-true-a-x-export a='x'\n] PASSED
38 tests/test_cli.py::test_set_export[dotenv_path1-false-a-x-a='x'\n] PASSED
39 tests/test_cli.py::test_set_no_file PASSED
40 tests/test_cli.py::test_set_non_existent_file PASSED
41 tests/test_cli.py::test_set_quote_options[always-a-x-a='x'\n] PASSED
42 tests/test_cli.py::test_set_quote_options[auto-a-$-a='$'\n] PASSED
43 tests/test_cli.py::test_set_quote_options[auto-a-x y-a='x y'\n] PASSED
44 tests/test_cli.py::test_set_quote_options[auto-a-x-a=x\n] PASSED
45 tests/test_cli.py::test_set_quote_options[never-a-x-a=x\n] PASSED
46 tests/test_cli.py::test_unset_existing_value PASSED
47 tests/test_cli.py::test_unset_non_existent_value PASSED
48 tests/test_ipython.py::test_ipython_existing_variable_no_override PASSED
49 tests/test_ipython.py::test_ipython_existing_variable_override PASSED
50 tests/test_ipython.py::test_ipython_new_variable PASSED
51 tests/test_main.py::test_dotenv_values_file PASSED
52 tests/test_main.py::test_dotenv_values_file_stream PASSED
53 tests/test_main.py::test_dotenv_values_string_io[env0-a=$b-False-expected0] PASSED
54 tests/test_main.py::test_dotenv_values_string_io[env1-a=$b-True-expected1] PASSED
55 tests/test_main.py::test_dotenv_values_string_io[env10-a='${b}'-True-expected10] PASSED
56 tests/test_main.py::test_dotenv_values_string_io[env11-a=x${b}y-True-expected11] PASSED
57 tests/test_main.py::test_dotenv_values_string_io[env12-a=${a}-True-expected12] PASSED
58 tests/test_main.py::test_dotenv_values_string_io[env13-a=${a}-True-expected13] PASSED
59 tests/test_main.py::test_dotenv_values_string_io[env14-a=${a:-c}-True-expected14] PASSED
60 tests/test_main.py::test_dotenv_values_string_io[env15-a=${a:-c}-True-expected15] PASSED
61 tests/test_main.py::test_dotenv_values_string_io[env16-a=${b}${b}-True-expected16] PASSED
62 tests/test_main.py::test_dotenv_values_string_io[env17-b=d\na=${b}-True-expected17] PASSED
63 tests/test_main.py::test_dotenv_values_string_io[env18-a=b\na=c\nd=${a}-True-expected18] PASSED
64 tests/test_main.py::test_dotenv_values_string_io[env19-a=b\nc=${a}\nd=e\nc=${d}-True-expected19] PASSED
65 tests/test_main.py::test_dotenv_values_string_io[env2-a=${b}-False-expected2] PASSED
66 tests/test_main.py::test_dotenv_values_string_io[env3-a=${b}-True-expected3] PASSED
67 tests/test_main.py::test_dotenv_values_string_io[env4-a=${b:-d}-False-expected4] PASSED
68 tests/test_main.py::test_dotenv_values_string_io[env5-a=${b:-d}-True-expected5] PASSED
69 tests/test_main.py::test_dotenv_values_string_io[env6-b=c\na=${b}-True-expected6] PASSED
70 tests/test_main.py::test_dotenv_values_string_io[env7-a=${b}-True-expected7] PASSED
71 tests/test_main.py::test_dotenv_values_string_io[env8-a=${b:-d}-True-expected8] PASSED
72 tests/test_main.py::test_dotenv_values_string_io[env9-a="${b}"-True-expected9] PASSED
73 tests/test_main.py::test_find_dotenv_found PASSED
74 tests/test_main.py::test_find_dotenv_no_file_no_raise PASSED
75 tests/test_main.py::test_find_dotenv_no_file_raise PASSED
76 tests/test_main.py::test_get_key_encoding PASSED
77 tests/test_main.py::test_get_key_no_file PASSED
78 tests/test_main.py::test_get_key_none PASSED
79 tests/test_main.py::test_get_key_not_found PASSED
80 tests/test_main.py::test_get_key_ok PASSED
81 tests/test_main.py::test_load_dotenv_existing_file PASSED
82 tests/test_main.py::test_load_dotenv_existing_variable_no_override PASSED
83 tests/test_main.py::test_load_dotenv_existing_variable_override PASSED
84 tests/test_main.py::test_load_dotenv_file_stream PASSED
85 tests/test_main.py::test_load_dotenv_in_current_dir PASSED
86 tests/test_main.py::test_load_dotenv_no_file_verbose PASSED
87 tests/test_main.py::test_load_dotenv_redefine_var_used_in_file_no_override PASSED
88 tests/test_main.py::test_load_dotenv_redefine_var_used_in_file_with_override PASSED
89 tests/test_main.py::test_load_dotenv_string_io_utf_8 PASSED
90 tests/test_main.py::test_set_key[-a-"b"-expected3-a='"b"'\n] PASSED
91 tests/test_main.py::test_set_key[-a-'b'-expected2-a='\\'b\\''\n] PASSED
92 tests/test_main.py::test_set_key[-a--expected0-a=''\n] PASSED
93 tests/test_main.py::test_set_key[-a-b"c-expected5-a='b"c'\n] PASSED
94 tests/test_main.py::test_set_key[-a-b'c-expected4-a='b\\'c'\n] PASSED
95 tests/test_main.py::test_set_key[-a-b-expected1-a='b'\n] PASSED
96 tests/test_main.py::test_set_key[a=b-a-c-expected6-a='c'\n] PASSED
97 tests/test_main.py::test_set_key[a=b-c-d-expected12-a=b\nc='d'\n] PASSED
98 tests/test_main.py::test_set_key[a=b\n-a-c-expected7-a='c'\n] PASSED
99 tests/test_main.py::test_set_key[a=b\n-c-d-expected11-a=b\nc='d'\n] PASSED
100 tests/test_main.py::test_set_key[a=b\n\n-a-c-expected8-a='c'\n\n] PASSED
101 tests/test_main.py::test_set_key[a=b\nc=d-a-e-expected9-a='e'\nc=d] PASSED
102 tests/test_main.py::test_set_key[a=b\nc=d\ne=f-c-g-expected10-a=b\nc='g'\ne=f] PASSED
103 tests/test_main.py::test_set_key_encoding PASSED
104 tests/test_main.py::test_set_key_no_file PASSED
105 tests/test_main.py::test_set_key_permission_error PASSED
106 tests/test_main.py::test_set_key_unauthorized_file PASSED
107 tests/test_main.py::test_unset_encoding PASSED
108 tests/test_main.py::test_unset_no_value PASSED
109 tests/test_main.py::test_unset_non_existent_file PASSED
110 tests/test_main.py::test_unset_with_value PASSED
111 tests/test_parser.py::test_parse_stream[ a = b -expected4] PASSED
112 tests/test_parser.py::test_parse_stream[ export 'a'=b-expected6] PASSED
113 tests/test_parser.py::test_parse_stream[# a=b-expected7] PASSED
114 tests/test_parser.py::test_parse_stream[# comment 1\n# comment 2-expected41] PASSED
115 tests/test_parser.py::test_parse_stream[# comment\na="b\nc"\nd=e\n-expected39] PASSED
116 tests/test_parser.py::test_parse_stream['a'=b-expected2] PASSED
117 tests/test_parser.py::test_parse_stream[-expected0] PASSED
118 tests/test_parser.py::test_parse_stream[[=b-expected3] PASSED
119 tests/test_parser.py::test_parse_stream[\n\n-expected35] PASSED
120 tests/test_parser.py::test_parse_stream[a: b-expected30] PASSED
121 tests/test_parser.py::test_parse_stream[a="\nb=c-expected38] PASSED
122 tests/test_parser.py::test_parse_stream[a="\xe0"-expected28] PASSED
123 tests/test_parser.py::test_parse_stream[a="b c "-expected17] PASSED
124 tests/test_parser.py::test_parse_stream[a="b\\"c"-expected25] PASSED
125 tests/test_parser.py::test_parse_stream[a="b\\nc"-expected23] PASSED
126 tests/test_parser.py::test_parse_stream[a="b\nc"-expected20] PASSED
127 tests/test_parser.py::test_parse_stream[a="b\nc"-expected22] PASSED
128 tests/test_parser.py::test_parse_stream[a='b c '-expected16] PASSED
129 tests/test_parser.py::test_parse_stream[a='b\\'c'-expected26] PASSED
130 tests/test_parser.py::test_parse_stream[a='b\\nc'-expected24] PASSED
131 tests/test_parser.py::test_parse_stream[a='b\nc'-expected21] PASSED
132 tests/test_parser.py::test_parse_stream[a=\nb=c-expected34] PASSED
133 tests/test_parser.py::test_parse_stream[a=\xe0-expected27] PASSED
134 tests/test_parser.py::test_parse_stream[a=b  c-expected13] PASSED
135 tests/test_parser.py::test_parse_stream[a=b #c-expected9] PASSED
136 tests/test_parser.py::test_parse_stream[a=b c -expected15] PASSED
137 tests/test_parser.py::test_parse_stream[a=b c-expected11] PASSED
138 tests/test_parser.py::test_parse_stream[a=b#c-expected8] PASSED
139 tests/test_parser.py::test_parse_stream[a=b-expected1] PASSED
140 tests/test_parser.py::test_parse_stream[a=b\n# comment 1-expected40] PASSED
141 tests/test_parser.py::test_parse_stream[a=b\n\n-expected36] PASSED
142 tests/test_parser.py::test_parse_stream[a=b\n\nc=d-expected37] PASSED
143 tests/test_parser.py::test_parse_stream[a=b\nc=d-expected31] PASSED
144 tests/test_parser.py::test_parse_stream[a=b\r\nc=d-expected33] PASSED
145 tests/test_parser.py::test_parse_stream[a=b\rc=d-expected32] PASSED
146 tests/test_parser.py::test_parse_stream[a=b\t#c-expected10] PASSED
147 tests/test_parser.py::test_parse_stream[a=b\tc-expected12] PASSED
148 tests/test_parser.py::test_parse_stream[a=b\xa0 c-expected14] PASSED
149 tests/test_parser.py::test_parse_stream[export a=b-expected5] PASSED
150 tests/test_parser.py::test_parse_stream[export export_a=1-expected18] PASSED
151 tests/test_parser.py::test_parse_stream[export port=8000-expected19] PASSED
152 tests/test_parser.py::test_parse_stream[no_value_var-expected29] PASSED
153 tests/test_parser.py::test_parse_stream[uglyKey[%$="S3cr3t_P4ssw#rD" #\na=b-expected42] PASSED
154 tests/test_utils.py::test_to_cli_string PASSED
155 tests/test_variables.py::test_parse_variables[${a:-b}-expected3] PASSED
156 tests/test_variables.py::test_parse_variables[${a}${b}-expected4] PASSED
157 tests/test_variables.py::test_parse_variables[${a}-expected2] PASSED
158 tests/test_variables.py::test_parse_variables[-expected0] PASSED
159 tests/test_variables.py::test_parse_variables[a${b}c${d}e-expected5] PASSED
160 tests/test_variables.py::test_parse_variables[a-expected1] PASSED
161 tests/test_zip_imports.py::test_load_dotenv_gracefully_handles_zip_imports_when_no_env_file PASSED
162 tests/test_zip_imports.py::test_load_dotenv_outside_zip_file_when_called_in_zipfile $(PYTHON_DIR)/vendor-packages/pytest_cov/plugin.py:298: CovReportWarning: Failed to generate report: No data to report.
164   self.cov_controller.finish()
165 PASSED [100%]WARNING: Failed to generate report: No data to report.
170 ======== 152 passed ========
171   py$(PYV): OK
172   congratulations :)