Closed
Description
I will show you real my codes because I do not know how I can reproduce this bugs in simple case.
1. order of test
If I change order of test_too_many_login_tried and test_invalid_password each other, this test will be broken because test_too_many_login_tried
's 'https://www.secure.pixiv.net/login.php'
access must going to 'https://example.com/'
in test test_invalid_password
.
2. toss and toss and toss again
In test_login_valid, I must insert this.
responses.add(**{
'method': responses.POST,
'url': 'http://example.com',
'body': '????',
'content_type': 'text/html; charset=utf-8',
'status': 301,
'adding_headers': {
'Location': 'http://www.pixiv.net/'
},
})
If I remove it, test will be broken. 'http://example.com'
mentioned in before test, cli_test.py
What the hell?
Metadata
Metadata
Assignees
Labels
No labels