From d446f8ba0820c8a4a923614611ae53582d38bc8e Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 26 Oct 2021 08:46:50 +0200 Subject: [PATCH] Corrected AutodetectorTests.test_rename_field_and_foo_together()'s docstring. --- tests/migrations/test_autodetector.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/migrations/test_autodetector.py b/tests/migrations/test_autodetector.py index eb98da94e3..8e3382adb9 100644 --- a/tests/migrations/test_autodetector.py +++ b/tests/migrations/test_autodetector.py @@ -1732,9 +1732,7 @@ class AutodetectorTests(TestCase): ) def test_rename_field_and_foo_together(self): - """ - Removed fields will be removed after updating index/unique_together. - """ + """Fields are renamed before updating index/unique_together.""" changes = self.get_changes( [self.author_empty, self.book_foo_together_3], [self.author_empty, self.book_foo_together_4],