()
| 6 | |
| 7 | @patch('requests.get', mock_request_get_content) |
| 8 | def test_info_parser(): |
| 9 | info_parser = InfoParser(cookie="", user_id="1669879400") |
| 10 | user = info_parser.extract_user_info() |
| 11 | # With info_parser, we can only get the nickname. |
| 12 | assert (user.nickname == "Dear-迪丽热巴") |
nothing calls this directly
no test coverage detected