summaryrefslogtreecommitdiff
path: root/tests/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'tests/migrations')
-rw-r--r--tests/migrations/test_executor.py4
-rw-r--r--tests/migrations/test_graph.py2
-rw-r--r--tests/migrations/test_loader.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py
index 847b11c088..93651d74bc 100644
--- a/tests/migrations/test_executor.py
+++ b/tests/migrations/test_executor.py
@@ -686,7 +686,7 @@ class ExecutorUnitTests(TestCase):
self.assertEqual(plan, [(a2_impl, True)])
def test_minimize_rollbacks_branchy(self):
- """
+ r"""
Minimize rollbacks when target has multiple in-app children.
a: 1 <---- 3 <--\
@@ -731,7 +731,7 @@ class ExecutorUnitTests(TestCase):
self.assertEqual(plan, exp)
def test_backwards_nothing_to_do(self):
- """
+ r"""
If the current state satisfies the given target, do nothing.
a: 1 <--- 2
diff --git a/tests/migrations/test_graph.py b/tests/migrations/test_graph.py
index 472ec5a3ed..ad7e04581c 100644
--- a/tests/migrations/test_graph.py
+++ b/tests/migrations/test_graph.py
@@ -68,7 +68,7 @@ class GraphTests(SimpleTestCase):
)
def test_complex_graph(self):
- """
+ r"""
Tests a complex dependency graph:
app_a: 0001 <-- 0002 <--- 0003 <-- 0004
diff --git a/tests/migrations/test_loader.py b/tests/migrations/test_loader.py
index e8f3b71ee8..b464209a98 100644
--- a/tests/migrations/test_loader.py
+++ b/tests/migrations/test_loader.py
@@ -427,7 +427,7 @@ class LoaderTests(TestCase):
]})
def test_loading_squashed_ref_squashed(self):
"Tests loading a squashed migration with a new migration referencing it"
- """
+ r"""
The sample migrations are structured like this:
app_1 1 --> 2 ---------------------*--> 3 *--> 4