| 1 |
Description: Python3.12: s/assertEquals/assertEqual/g |
| 2 |
Bug-Debian: https://bugs.debian.org/1058205 |
| 3 |
Author: Andreas Tille <[email protected]> |
| 4 |
Last-Update: 2024-01-15 |
| 5 |
|
| 6 |
--- a/markupfield/tests/tests.py |
| 7 |
+++ b/markupfield/tests/tests.py |
| 8 |
@@ -386,7 +386,7 @@ class MarkupFieldFormSaveTests(TestCase) |
| 9 |
form.save() |
| 10 |
|
| 11 |
actual = Post.objects.get(title=self.data["title"]) |
| 12 |
|
| 13 |
+ self.assertEqual(actual.body.raw, self.data["body"]) |
| 14 |
|
| 15 |
def test_form_update(self): |
| 16 |
existing = Post.objects.create( |
| 17 |
@@ -404,7 +404,7 @@ class MarkupFieldFormSaveTests(TestCase) |
| 18 |
form.save() |
| 19 |
|
| 20 |
actual = Post.objects.get(title=update["title"]) |
| 21 |
|
| 22 |
+ self.assertEqual(actual.body.raw, update["body"]) |
| 23 |
|
| 24 |
|
| 25 |
class MarkupFieldLocalFileTestCase(TestCase): |