(self, method)
| 45 | |
| 46 | class CookieTestBase: |
| 47 | def setup_method(self, method): |
| 48 | self.config_dir = mk_config_dir() |
| 49 | |
| 50 | orig_session = { |
| 51 | 'cookies': { |
| 52 | 'cookie1': { |
| 53 | 'value': 'foo', |
| 54 | }, |
| 55 | 'cookie2': { |
| 56 | 'value': 'foo', |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | self.session_path = self.config_dir / 'test-session.json' |
| 61 | self.session_path.write_text(json.dumps(orig_session), encoding=UTF8) |
| 62 | |
| 63 | def teardown_method(self, method): |
| 64 | shutil.rmtree(self.config_dir) |
nothing calls this directly
no test coverage detected