(options)
| 854 | ], |
| 855 | ) |
| 856 | def test_url_constraints_hash_equal(options): |
| 857 | defaults = { |
| 858 | 'max_length': 1, |
| 859 | 'allowed_schemes': ['scheme'], |
| 860 | 'host_required': False, |
| 861 | 'default_host': 'host', |
| 862 | 'default_port': 0, |
| 863 | 'default_path': 'path', |
| 864 | } |
| 865 | options = {**defaults, **options} |
| 866 | assert hash(UrlConstraints(**options)) == hash(UrlConstraints(**options)) |
| 867 | |
| 868 | |
| 869 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected