cfc23b0091d55b53eef9654fe0e9134ac12b8c38,tests/util/test_init.py,TestUtil,test_throttle,#TestUtil#,169
Before Change
test_throttle2()
self.assertEqual(4, len(calls1))
self.assertEqual(3, len(calls2))
After Change
def test_throttle2():
calls2.append(1)
now = dt_util.utcnow()
plus3 = now + timedelta(seconds=3)
plus5 = plus3 + timedelta(seconds=2)
// Call first time and ensure methods got called
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: home-assistant/home-assistant
Commit Name: cfc23b0091d55b53eef9654fe0e9134ac12b8c38
Time: 2015-09-12
Author: paulus@paulusschoutsen.nl
File Name: tests/util/test_init.py
Class Name: TestUtil
Method Name: test_throttle
Project Name: pfnet/optuna
Commit Name: 57a09d96dacfd8c0c1581a78d4f93ab8813987c5
Time: 2018-04-19
Author: sano@preferred.jp
File Name: tests/storages_tests/test_rdb.py
Class Name: TestRDBStorage
Method Name: test_get_all_trials
Project Name: pfnet/optuna
Commit Name: 57a09d96dacfd8c0c1581a78d4f93ab8813987c5
Time: 2018-04-19
Author: sano@preferred.jp
File Name: tests/storages_tests/test_rdb.py
Class Name: TestRDBStorage
Method Name: test_get_trial
Project Name: home-assistant/home-assistant
Commit Name: 3fa1963345aed7949a3e999a944acba450187666
Time: 2016-08-25
Author: paulus@paulusschoutsen.nl
File Name: tests/components/automation/test_init.py
Class Name: TestAutomation
Method Name: test_service_specify_data