()
| 69 | |
| 70 | |
| 71 | def test_readonly_param(): |
| 72 | url = 'http://example.com/' |
| 73 | with pytest.raises(ValueError): |
| 74 | HttpStorage(url=url, read_only=False) |
| 75 | |
| 76 | a = HttpStorage(url=url, read_only=True).read_only |
| 77 | b = HttpStorage(url=url, read_only=None).read_only |
| 78 | assert a is b is True |
| 79 | |
| 80 | |
| 81 | def test_prepare_auth(): |
nothing calls this directly
no test coverage detected