6c60876cddfbb07a704bb2bd9d86bf04c7019662,loudml/tests/test_app.py,AppTests,test_home,#AppTests#,214
Before Change
def test_home(self):
result = self.app.get("/")
self.assertEqual(result.status_code, 200)
d = json.loads(result.data.decode("utf-8"))
self.assertIsNotNone(d.get("host_id"))
self.assertIsNotNone(d.get("version"))
After Change
def test_home(self):
response = self.get("/")
self.assertEqual(response.status_code, 200)
home = response.json()
self.assertIsNotNone(home.get("host_id"))
self.assertIsNotNone(home.get("version"))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: regel/loudml
Commit Name: 6c60876cddfbb07a704bb2bd9d86bf04c7019662
Time: 2019-09-19
Author: sebastien.regel@gmail.com
File Name: loudml/tests/test_app.py
Class Name: AppTests
Method Name: test_home
Project Name: regel/loudml
Commit Name: 6c60876cddfbb07a704bb2bd9d86bf04c7019662
Time: 2019-09-19
Author: sebastien.regel@gmail.com
File Name: loudml/tests/test_app.py
Class Name: AppTests
Method Name: _wait_job
Project Name: regel/loudml
Commit Name: 6c60876cddfbb07a704bb2bd9d86bf04c7019662
Time: 2019-09-19
Author: sebastien.regel@gmail.com
File Name: loudml/tests/test_app.py
Class Name: AppTests
Method Name: _get_models