Beispiel #1
0
 def test_worker_fixup_property(self, DjangoWorkerFixup):
     f = DjangoFixup(self.app)
     f._worker_fixup = None
     assert f.worker_fixup is DjangoWorkerFixup()
     assert f.worker_fixup is DjangoWorkerFixup()
Beispiel #2
0
 def test_worker_fixup_property(self, DjangoWorkerFixup):
     f = DjangoFixup(self.app)
     f._worker_fixup = None
     self.assertIs(f.worker_fixup, DjangoWorkerFixup())
     self.assertIs(f.worker_fixup, DjangoWorkerFixup())