Test to ensure modifying the output argument has the desired effect
(self)
| 48 | assert "api" not in self.route.route |
| 49 | |
| 50 | def test_output(self): |
| 51 | """Test to ensure modifying the output argument has the desired effect""" |
| 52 | new_route = self.route.output("test data", transform="transformed") |
| 53 | assert new_route != self.route |
| 54 | assert new_route.route["output"] == "test data" |
| 55 | assert new_route.route["transform"] == "transformed" |
| 56 | |
| 57 | def test_transform(self): |
| 58 | """Test to ensure changing the transformation on the fly works as expected""" |