diff --git a/tests/migrations/test_writer.py b/tests/migrations/test_writer.py
index b0d8ba9..4ab0cf7 100644
a
|
b
|
from django.utils.deconstruct import deconstructible
|
17 | 17 | from django.utils.translation import ugettext_lazy as _ |
18 | 18 | from django.utils.timezone import get_default_timezone |
19 | 19 | |
| 20 | import operations |
20 | 21 | |
21 | 22 | class TestModel1(object): |
22 | 23 | def upload_to(self): |
… |
… |
class WriterTests(TestCase):
|
252 | 253 | TestOperation(), |
253 | 254 | CreateModel(), |
254 | 255 | migrations.CreateModel("MyModel", (), {}, (models.Model,)), |
| 256 | operations.TestOperation() |
255 | 257 | ], |
256 | 258 | "dependencies": [] |
257 | 259 | }) |
258 | 260 | writer = MigrationWriter(migration) |
259 | 261 | output = writer.as_string() |
260 | 262 | result = self.safe_exec(output) |
| 263 | # Need a way to ensure we have two different |
| 264 | # TestOperation classes. |
261 | 265 | self.assertIn("TestOperation", result) |
262 | | self.assertIn("CreateModel", result) |
263 | | No newline at end of file |
| 266 | self.assertIn("CreateModel", result) |