| 441 | |
| 442 | @pytest.mark.parametrize("chain_type", [_chain, chain_subclass]) |
| 443 | def test_from_dict_full_subtasks(self, chain_type): |
| 444 | c = chain_type(self.add.si(1, 2), self.add.si(3, 4), self.add.si(5, 6)) |
| 445 | serialized = json.loads(json.dumps(c)) |
| 446 | deserialized = chain_type.from_dict(serialized) |
| 447 | assert all(isinstance(task, Signature) for task in deserialized.tasks) |
| 448 | assert isinstance(deserialized, chain_type) |
| 449 | |
| 450 | @pytest.mark.usefixtures('depends_on_current_app') |
| 451 | def test_app_falls_back_to_default(self): |