(self, url)
| 58 | return super().__reduce__(args, {**kwargs, 'url': self.url}) |
| 59 | |
| 60 | def _find_path(self, url): |
| 61 | if not url: |
| 62 | raise ImproperlyConfigured(E_NO_PATH_SET) |
| 63 | if url.startswith('file://localhost/'): |
| 64 | return url[16:] |
| 65 | if url.startswith('file://'): |
| 66 | return url[7:] |
| 67 | raise ImproperlyConfigured(E_PATH_NON_CONFORMING_SCHEME) |
| 68 | |
| 69 | def _do_directory_test(self, key): |
| 70 | try: |
no test coverage detected