-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-15061.gpt-4-0125-preview.eval.log
385 lines (372 loc) · 25.5 KB
/
django__django-15061.gpt-4-0125-preview.eval.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
[django__django__4.1] [django__django-15061] Task Metadata:
- Instance ID: django__django-15061
- Testbed: django__django__4.1
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.9.19
[django__django__4.1] [django__django-15061] Command: git -c advice.detachedHead=false checkout 2c01ebb4be5d53cbf6450f356c10e436025d6d07
[django__django__4.1] [django__django-15061] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15061] Std. Output:
Previous HEAD position was 647480166b Refs #33685 -- Doc'd that using PostgreSQL's service names for testing purposes is not supported.
HEAD is now at 2c01ebb4be Refs #33263 -- Expanded release notes for DeleteView adopting FormMixin.
[django__django__4.1] [django__django-15061] Return Code: 0
[django__django__4.1] [django__django-15061] Command: git apply -v /opt/temp_django__django-15061_pred_try.patch
[django__django__4.1] [django__django-15061] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15061] Std. Output:
Checking patch django/forms/widgets.py...
Applied patch django/forms/widgets.py cleanly.
[django__django__4.1] [django__django-15061] Return Code: 0
[django__django__4.1] [django__django-15061] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15061] Command: git apply -v -R /opt/temp_django__django-15061_pred_try.patch
[django__django__4.1] [django__django-15061] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15061] Std. Output:
Checking patch django/forms/widgets.py...
Applied patch django/forms/widgets.py cleanly.
[django__django__4.1] [django__django-15061] Return Code: 0
[django__django__4.1] [django__django-15061] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15061] Command: git apply -v /opt/temp_django__django-15061_pred.patch
[django__django__4.1] [django__django-15061] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15061] Std. Output:
Checking patch django/forms/widgets.py...
Applied patch django/forms/widgets.py cleanly.
[django__django__4.1] [django__django-15061] Return Code: 0
[django__django__4.1] [django__django-15061] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.1] [django__django-15061] Command: git apply -v /opt/temp_django__django-15061_test.patch
[django__django__4.1] [django__django-15061] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15061] Std. Output:
Checking patch tests/forms_tests/field_tests/test_multivaluefield.py...
Checking patch tests/forms_tests/field_tests/test_splitdatetimefield.py...
Checking patch tests/postgres_tests/test_ranges.py...
Applied patch tests/forms_tests/field_tests/test_multivaluefield.py cleanly.
Applied patch tests/forms_tests/field_tests/test_splitdatetimefield.py cleanly.
Applied patch tests/postgres_tests/test_ranges.py cleanly.
[django__django__4.1] [django__django-15061] Return Code: 0
[django__django__4.1] [django__django-15061] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 forms_tests.field_tests.test_multivaluefield forms_tests.field_tests.test_splitdatetimefield postgres_tests.test_ranges;
[django__django__4.1] [django__django-15061] Command: ./tests/runtests.py --verbosity 2 forms_tests.field_tests.test_multivaluefield forms_tests.field_tests.test_splitdatetimefield postgres_tests.test_ranges
[django__django__4.1] [django__django-15061] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__4.1] [django__django-15061] Std. Output:
Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Testing against Django installed in '/opt/django__django/django' with up to 12 processes
Importing application postgres_tests
Importing application forms_tests
Found 116 test(s).
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, forms_tests, messages, sessions, staticfiles
Apply all migrations: admin, postgres_tests, sites
Synchronizing apps without migrations:
Creating tables...
Creating table django_content_type
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table django_session
Creating table forms_tests_boundarymodel
Creating table forms_tests_defaults
Creating table forms_tests_choicemodel
Creating table forms_tests_choiceoptionmodel
Creating table forms_tests_choicefieldmodel
Creating table forms_tests_optionalmultichoicemodel
Creating table forms_tests_filemodel
Creating table forms_tests_article
Running deferred SQL...
Running migrations:
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying postgres_tests.0001_setup_extensions... OK
Applying postgres_tests.0002_create_test_models... OK
Applying sites.0001_initial... OK
Applying sites.0002_alter_domain_unique... OK
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
System check identified no issues (0 silenced).
test_adjacent_to (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_bound_type (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_contained_by (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_contains (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_contains_range (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_endswith (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_exact (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_fully_gt (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_fully_lt (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_isempty (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_isnull (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_not_gt (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_not_lt (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_overlap (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_startswith (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_startswith_chaining (postgres_tests.test_ranges.TestQuerying) ... skipped 'PostgreSQL specific tests'
test_auto_field_contained_by (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_big_auto_field_contained_by (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_biginteger_range (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_date_range (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_date_range_datetime_field (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_datetime_range (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_decimal_field_contained_by (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_exclude (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_f_ranges (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_float_range (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_integer_range (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_small_auto_field_contained_by (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_small_integer_field_contained_by (postgres_tests.test_ranges.TestQueryingWithRanges) ... skipped 'PostgreSQL specific tests'
test_continuous_range_fields_default_bounds (postgres_tests.test_ranges.BasicTests) ... skipped 'PostgreSQL specific tests'
test_deconstruct (postgres_tests.test_ranges.BasicTests) ... skipped 'PostgreSQL specific tests'
test_discrete_range_fields_unsupported_default_bounds (postgres_tests.test_ranges.BasicTests) ... skipped 'PostgreSQL specific tests'
test_get_field_display (postgres_tests.test_ranges.BasicTests) ... skipped 'PostgreSQL specific tests'
test_invalid_default_bounds (postgres_tests.test_ranges.BasicTests) ... skipped 'PostgreSQL specific tests'
test_dumping (postgres_tests.test_ranges.TestSerialization) ... skipped 'PostgreSQL specific tests'
test_loading (postgres_tests.test_ranges.TestSerialization) ... skipped 'PostgreSQL specific tests'
test_serialize_range_with_null (postgres_tests.test_ranges.TestSerialization) ... skipped 'PostgreSQL specific tests'
test_range_widget (postgres_tests.test_ranges.TestWidget) ... skipped 'PostgreSQL specific tests'
test_choices_tuple_list (postgres_tests.test_ranges.TestChecks) ... skipped 'PostgreSQL specific tests'
test_max (postgres_tests.test_ranges.TestValidators) ... skipped 'PostgreSQL specific tests'
test_min (postgres_tests.test_ranges.TestValidators) ... skipped 'PostgreSQL specific tests'
test_date_range_contains (postgres_tests.test_ranges.TestRangeContainsLookup) ... skipped 'PostgreSQL specific tests'
test_datetime_range_contains (postgres_tests.test_ranges.TestRangeContainsLookup) ... skipped 'PostgreSQL specific tests'
test_all_fields (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_empty (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_model_set_on_base_field (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_null (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_range_object (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_range_object_boundaries (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_range_object_boundaries_range_with_default_bounds (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_tuple (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_tuple_range_with_default_bounds (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_unbounded (postgres_tests.test_ranges.TestSaveLoad) ... skipped 'PostgreSQL specific tests'
test_date_has_changed_first (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_date_has_changed_last (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_date_incorrect_data_type (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_date_invalid_lower (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_date_invalid_upper (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_date_lower_bound_higher (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_date_open (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_date_required (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_form_as_table (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_form_initial_data (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_has_changed_first (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_has_changed_last (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_incorrect_data_type (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_invalid_lower (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_invalid_upper (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_lower_bound_higher (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_open (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_prepare_value (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_datetime_required (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_decimal_incorrect_data_type (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_decimal_invalid_lower (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_decimal_invalid_upper (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_decimal_lower_bound_higher (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_decimal_open (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_decimal_required (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_has_changed (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_integer_incorrect_data_type (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_integer_invalid_lower (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_integer_invalid_upper (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_integer_lower_bound_higher (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_integer_open (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_integer_required (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_model_field_formfield_biginteger (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_model_field_formfield_date (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_model_field_formfield_datetime (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_model_field_formfield_datetime_default_bounds (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_model_field_formfield_float (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_model_field_formfield_integer (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_model_field_with_default_bounds (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_none (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_rendering (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_using_split_datetime_widget (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_valid_dates (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_valid_decimal (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_valid_integer (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_valid_timestamps (postgres_tests.test_ranges.TestFormField) ... skipped 'PostgreSQL specific tests'
test_form_as_table (forms_tests.field_tests.test_splitdatetimefield.SplitDateTimeFieldTest) ... FAIL
test_splitdatetimefield_1 (forms_tests.field_tests.test_splitdatetimefield.SplitDateTimeFieldTest) ... ok
test_splitdatetimefield_2 (forms_tests.field_tests.test_splitdatetimefield.SplitDateTimeFieldTest) ... ok
test_splitdatetimefield_changed (forms_tests.field_tests.test_splitdatetimefield.SplitDateTimeFieldTest) ... ok
test_bad_choice (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
test_clean (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
test_clean_disabled_multivalue (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
test_disabled_has_changed (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
test_form_as_table (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... FAIL
test_form_as_table_data (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... FAIL
test_form_cleaned_data (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
test_has_changed_first_widget (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest)
Test when the first widget's data has changed. ... ok
test_has_changed_last_widget (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest)
Test when the last widget's data has changed. This ensures that it is ... ok
test_has_changed_no_initial (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
test_has_changed_same (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
test_no_value (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest)
If insufficient data is provided, None is substituted. ... ok
test_render_required_attributes (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest) ... ok
======================================================================
FAIL: test_form_as_table (forms_tests.field_tests.test_splitdatetimefield.SplitDateTimeFieldTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 592, in run
self._callTestMethod(testMethod)
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
method()
File "/opt/django__django/tests/forms_tests/field_tests/test_splitdatetimefield.py", line 69, in test_form_as_table
self.assertHTMLEqual(
File "/opt/django__django/django/test/testcases.py", line 810, in assertHTMLEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 676, in fail
raise self.failureException(msg)
AssertionError: <tr>
<th>
<label for="id_datetime_0">
Datetime:
</label>
</th><td>
<input id="id [truncated]... != <tr>
<th>
<label>
Datetime:
</label>
</th><td>
<input id="id_datetime_0" name="d [truncated]...
<tr>
<th>
- <label for="id_datetime_0">
+ <label>
Datetime:
</label>
</th><td>
<input id="id_datetime_0" name="datetime_0" required type="text"><input id="id_datetime_1" name="datetime_1" required type="text">
</td>
</tr>
======================================================================
FAIL: test_form_as_table (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 592, in run
self._callTestMethod(testMethod)
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
method()
File "/opt/django__django/tests/forms_tests/field_tests/test_multivaluefield.py", line 141, in test_form_as_table
self.assertHTMLEqual(
File "/opt/django__django/django/test/testcases.py", line 810, in assertHTMLEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 676, in fail
raise self.failureException(msg)
AssertionError: <tr>
<th>
<label for="id_field1_0">
Field1:
</label>
</th><td>
<input id="id_fie [truncated]... != <tr>
<th>
<label>
Field1:
</label>
</th><td>
<input id="id_field1_0" name="field [truncated]...
<tr>
<th>
- <label for="id_field1_0">
+ <label>
Field1:
</label>
</th><td>
<input id="id_field1_0" name="field1_0" required type="text"><select id="id_field1_1" multiple name="field1_1" required>
<option value="J">
John
</option><option value="P">
Paul
</option><option value="G">
George
</option><option value="R">
Ringo
</option>
</select><input id="id_field1_2_0" name="field1_2_0" required type="text"><input id="id_field1_2_1" name="field1_2_1" required type="text">
</td>
</tr>
======================================================================
FAIL: test_form_as_table_data (forms_tests.field_tests.test_multivaluefield.MultiValueFieldTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 592, in run
self._callTestMethod(testMethod)
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
method()
File "/opt/django__django/tests/forms_tests/field_tests/test_multivaluefield.py", line 164, in test_form_as_table_data
self.assertHTMLEqual(
File "/opt/django__django/django/test/testcases.py", line 810, in assertHTMLEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/opt/pyenv/versions/3.9.19/lib/python3.9/unittest/case.py", line 676, in fail
raise self.failureException(msg)
AssertionError: <tr>
<th>
<label for="id_field1_0">
Field1:
</label>
</th><td>
<input id="id_fie [truncated]... != <tr>
<th>
<label>
Field1:
</label>
</th><td>
<input id="id_field1_0" name="field [truncated]...
<tr>
<th>
- <label for="id_field1_0">
+ <label>
Field1:
</label>
</th><td>
<input id="id_field1_0" name="field1_0" required type="text" value="some text"><select id="id_field1_1" multiple name="field1_1" required>
<option selected value="J">
John
</option><option selected value="P">
Paul
</option><option value="G">
George
</option><option value="R">
Ringo
</option>
</select><input id="id_field1_2_0" name="field1_2_0" required type="text" value="2007-04-25"><input id="id_field1_2_1" name="field1_2_1" required type="text" value="06:24:00">
</td>
</tr>
----------------------------------------------------------------------
Ran 116 tests in 0.719s
FAILED (failures=3, skipped=99)
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
[django__django__4.1] [django__django-15061] Return Code: 1
>>>>> Some Tests Failed
[django__django__4.1] [django__django-15061] Test script run successful