Skip to content

Commit 12bb4b1

Browse files
ndittrennikolas
authored andcommitted
Update Django
1 parent 3064729 commit 12bb4b1

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Django>=4.2.14,<5
1+
Django>=5.2,<6
22
backports.zoneinfo;python_version<"3.9"
33
Markdown==3.10
44
smartypants==2.0.1
@@ -24,7 +24,7 @@ flake8==7.3.0
2424
tornado==6.5.1
2525
beautifulsoup4==4.14.2
2626
fuzzywuzzy==0.18.0
27-
sure==2.0.0
27+
sure==3.0a2
2828
wcwidth==0.2.5
2929
prompt_toolkit==3.0.22
3030
scandir==1.10.0
@@ -103,7 +103,8 @@ unicodecsv==0.14.1
103103

104104
# memcached
105105
pylibmc==1.6.3;sys_platform == "linux" and python_version<"3.9"
106-
requirements/src/pylibmc-1.7.0.dev0-cp312-cp312-linux_x86_64.whl;sys_platform == "linux" and python_version>="3.12"
106+
requirements/src/pylibmc-1.7.0.dev0-cp312-cp312-linux_x86_64.whl;sys_platform == "linux" and python_version=="3.12"
107+
requirements/src/pylibmc-1.7.0.dev0-cp313-cp313-linux_x86_64.whl;sys_platform == "linux" and python_version=="3.13"
107108

108109
parse-type==0.6.0
109110
parse==1.20.0
37.3 KB
Binary file not shown.

worth2/goals/tests/test_views.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ def test_post_only_main_goal(self):
209209

210210
self.assertEqual(responses.count(), 0)
211211
self.assertEqual(r.status_code, 200)
212-
self.assertFormsetError(
212+
self.assertFormSetError(
213213
r, 'checkin_formset', 1, 'i_will_do_this',
214214
'This field is required.')
215-
self.assertFormsetError(
215+
self.assertFormSetError(
216216
r, 'checkin_formset', 2, 'i_will_do_this',
217217
'This field is required.')
218218

@@ -253,7 +253,7 @@ def test_post_invalid(self):
253253
self.assertEqual(responses.count(), 0)
254254

255255
self.assertEqual(r.status_code, 200)
256-
self.assertFormsetError(
256+
self.assertFormSetError(
257257
r, 'checkin_formset', 0, 'i_will_do_this',
258258
'This field is required.')
259259

@@ -291,7 +291,7 @@ def test_post_in_progress_makes_dropdown_required(self):
291291
self.assertEqual(responses.count(), 0)
292292

293293
self.assertEqual(r.status_code, 200)
294-
self.assertFormsetError(
294+
self.assertFormSetError(
295295
r, 'checkin_formset', 0, 'what_got_in_the_way',
296296
'This field is required.')
297297

@@ -329,7 +329,7 @@ def test_post_other_text_is_required(self):
329329
self.assertEqual(responses.count(), 0)
330330

331331
self.assertEqual(r.status_code, 200)
332-
self.assertFormsetError(
332+
self.assertFormSetError(
333333
r, 'checkin_formset', 0, 'other', 'This field is required.')
334334

335335
def test_post_other_text_is_saved(self):
@@ -566,10 +566,10 @@ def test_post_invalid(self):
566566

567567
self.assertEqual(r.status_code, 200)
568568
self.assertEqual(GoalSettingResponse.objects.count(), 0)
569-
self.assertFormsetError(
569+
self.assertFormSetError(
570570
r, 'setting_formset', 0, 'option',
571571
'This field is required.')
572-
self.assertFormsetError(
572+
self.assertFormSetError(
573573
r, 'setting_formset', 0, 'text',
574574
'This field is required.')
575575

@@ -614,7 +614,7 @@ def test_post_other_option_makes_other_text_required(self):
614614
self.assertEqual(r.status_code, 200)
615615
self.assertContains(r, 'This field is required.')
616616
self.assertEqual(GoalSettingResponse.objects.count(), 0)
617-
self.assertFormsetError(
617+
self.assertFormSetError(
618618
r, 'setting_formset', 0, 'other_text', 'This field is required.')
619619

620620
def test_post_valid_with_other_option(self):

0 commit comments

Comments
 (0)