From c26a323210533d4ed3a8b4e62c33744236e3beda Mon Sep 17 00:00:00 2001 From: Javi Merino Date: Fri, 11 Dec 2015 18:00:30 +0000 Subject: ftrace: rename Run to FTrace Run is a very generic and inappropriate name for an object that parses the result of ftrace into a form consumable by python. Rename it to FTrace in preparation for its generalization. --- tests/test_pid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_pid.py') diff --git a/tests/test_pid.py b/tests/test_pid.py index 1276e47..41ddb17 100644 --- a/tests/test_pid.py +++ b/tests/test_pid.py @@ -22,7 +22,7 @@ import trappy class TestPIDController(BaseTestThermal): def test_dataframe(self): """Test that PIDController() generates a valid data_frame""" - pid = trappy.Run().pid_controller + pid = trappy.FTrace().pid_controller self.assertTrue(len(pid.data_frame) > 0) self.assertTrue("err_integral" in pid.data_frame.columns) @@ -32,7 +32,7 @@ class TestPIDController(BaseTestThermal): """Test PIDController.plot_controller() As it happens with all plot functions, just test that it doesn't explode""" - pid = trappy.Run().pid_controller + pid = trappy.FTrace().pid_controller pid.plot_controller() matplotlib.pyplot.close('all') -- cgit v1.2.3