diff options
author | Javi Merino <javi.merino@arm.com> | 2015-12-11 18:00:30 +0000 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2015-12-22 15:49:30 +0000 |
commit | c26a323210533d4ed3a8b4e62c33744236e3beda (patch) | |
tree | 4b0a3c4b1ae071737f683941b4b2aa289861a51f /tests/test_pid.py | |
parent | 08ea8c25cd7ed23b17e09363d08054eb5bc27688 (diff) | |
download | trappy-c26a323210533d4ed3a8b4e62c33744236e3beda.tar.gz |
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.
Diffstat (limited to 'tests/test_pid.py')
-rw-r--r-- | tests/test_pid.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |