(session)
| 257 | |
| 258 | @staticmethod |
| 259 | def get_xsrf_token(session): |
| 260 | response = session.get('http://127.0.0.1:12345/admin/scripts') |
| 261 | return response.cookies.get('_xsrf') |
| 262 | |
| 263 | def request(self, method, url, session=None, auth=None): |
| 264 | if session is None: |
no test coverage detected