summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-26 08:46:50 +0200
committerGitHub <noreply@github.com>2021-10-26 08:46:50 +0200
commitd446f8ba0820c8a4a923614611ae53582d38bc8e (patch)
tree700a624edfcf05b9b812afb77d8ce748aae98359
parentdef09bf4126d4886413adf7388882eca8e32576b (diff)
Corrected AutodetectorTests.test_rename_field_and_foo_together()'s docstring.
-rw-r--r--tests/migrations/test_autodetector.py4
1 files changed, 1 insertions, 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],