()
| 15 | |
| 16 | |
| 17 | def test_recursive_proxy() -> None: |
| 18 | proxy = RecursiveLazyProxy() |
| 19 | assert repr(proxy) == "RecursiveLazyProxy" |
| 20 | assert str(proxy) == "RecursiveLazyProxy" |
| 21 | assert dir(proxy) == [] |
| 22 | assert type(proxy).__name__ == "RecursiveLazyProxy" |
| 23 | assert type(operator.attrgetter("name.foo.bar.baz")(proxy)).__name__ == "RecursiveLazyProxy" |
| 24 | |
| 25 | |
| 26 | def test_isinstance_does_not_error() -> None: |
nothing calls this directly
no test coverage detected