aboutsummaryrefslogtreecommitdiff
path: root/tests/test_pid.py
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-12-11 18:00:30 +0000
committerJavi Merino <javi.merino@arm.com>2015-12-22 15:49:30 +0000
commitc26a323210533d4ed3a8b4e62c33744236e3beda (patch)
tree4b0a3c4b1ae071737f683941b4b2aa289861a51f /tests/test_pid.py
parent08ea8c25cd7ed23b17e09363d08054eb5bc27688 (diff)
downloadtrappy-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.py4
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')