Create a Thing instance and notify about it.
(self, num)
| 30 | self.notified.append(id_) |
| 31 | |
| 32 | def do(self, num): |
| 33 | """Create a Thing instance and notify about it.""" |
| 34 | Thing.objects.create(num=num) |
| 35 | transaction.on_commit(lambda: self.notify(num)) |
| 36 | |
| 37 | def assertDone(self, nums): |
| 38 | self.assertNotified(nums) |
no test coverage detected