Test to ensure changing the API associated with the route works as expected
(self)
| 65 | assert self.route.validate(str).route["validate"] == str |
| 66 | |
| 67 | def test_api(self): |
| 68 | """Test to ensure changing the API associated with the route works as expected""" |
| 69 | new_route = self.route.api("new") |
| 70 | assert new_route != self.route |
| 71 | assert new_route.route["api"] == "new" |
| 72 | |
| 73 | def test_requires(self): |
| 74 | """Test to ensure requirements can be added on the fly""" |