5fea59c5138610a688cd3baaea7a06e16500a027,test/utils/test_utils.py,BaseWithDb,ban_user,#BaseWithDb#Any#Any#,252
Before Change
else:
bantime = datetime.utcnow() + timedelta(0, 240) // 4 minutes left
bantime = bantime.strftime(ConfigKeys.DEFAULT_DATE_FORMAT)
FakeDb._bans[target] = bantime
class UtilsBase64Test(TestCase):
After Change
else:
bantime = datetime.utcnow() + timedelta(0, 240) // 4 minutes left
bantime = str(bantime.timestamp()).split(".")[0]
FakeDb._bans[target] = bantime
class UtilsBase64Test(TestCase):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: thenetcircle/dino
Commit Name: 5fea59c5138610a688cd3baaea7a06e16500a027
Time: 2016-12-18
Author: oscar.eriks@gmail.com
File Name: test/utils/test_utils.py
Class Name: BaseWithDb
Method Name: ban_user
Project Name: testerSunshine/12306
Commit Name: 6b849c1201b97448bfd3c0b8def06a1f9e2310a7
Time: 2018-08-29
Author: 931128603@qq.com
File Name: inter/GetQueueCountAsync.py
Class Name: getQueueCountAsync
Method Name: data_par
Project Name: thenetcircle/dino
Commit Name: 5fea59c5138610a688cd3baaea7a06e16500a027
Time: 2016-12-18
Author: oscar.eriks@gmail.com
File Name: test/validation/test_request_join.py
Class Name: RequestJoinTest
Method Name: ban_user