tests: rename the base thermal testing class to BaseTestThermal
diff --git a/tests/test_cr2.py b/tests/test_cr2.py
index 29888b2..085b027 100644
--- a/tests/test_cr2.py
+++ b/tests/test_cr2.py
@@ -4,9 +4,9 @@
import matplotlib, tempfile
import cr2
-from test_thermal import TestThermalBase
+from test_thermal import BaseTestThermal
-class TestCR2(TestThermalBase):
+class TestCR2(BaseTestThermal):
def test_summary_plots(self):
"""Test summary_plots()
diff --git a/tests/test_pid.py b/tests/test_pid.py
index 735ceb3..5b7c869 100644
--- a/tests/test_pid.py
+++ b/tests/test_pid.py
@@ -2,10 +2,10 @@
import matplotlib
-from test_thermal import TestThermalBase
+from test_thermal import BaseTestThermal
from cr2 import PIDController
-class TestPIDController(TestThermalBase):
+class TestPIDController(BaseTestThermal):
def test_get_dataframe(self):
"""Test PIDController.get_data_frame()"""
df = PIDController().get_data_frame()
diff --git a/tests/test_plot_utils.py b/tests/test_plot_utils.py
index 4013c3d..8b11176 100644
--- a/tests/test_plot_utils.py
+++ b/tests/test_plot_utils.py
@@ -4,7 +4,7 @@
import matplotlib
import pandas as pd
-from test_thermal import TestThermalBase
+from test_thermal import BaseTestThermal
import cr2
import plot_utils
@@ -85,7 +85,7 @@
plot_utils.plot_hist(data, "Foo", 20, "numbers", (0, 4), "default")
-class TestPlotUtilsNeedTrace(TestThermalBase):
+class TestPlotUtilsNeedTrace(BaseTestThermal):
def test_plot_allfreqs(self):
"""Test that plot_allfreqs() doesn't bomb"""
diff --git a/tests/test_power.py b/tests/test_power.py
index 9c6757a..1334027 100644
--- a/tests/test_power.py
+++ b/tests/test_power.py
@@ -2,11 +2,11 @@
import pandas as pd
-from test_thermal import TestThermalBase
+from test_thermal import BaseTestThermal
from cr2 import OutPower, InPower
import power
-class TestPower(TestThermalBase):
+class TestPower(BaseTestThermal):
def __init__(self, *args, **kwargs):
super(TestPower, self).__init__(*args, **kwargs)
self.map_label = {"000000f0": "A15", "0000000f": "A7"}
diff --git a/tests/test_thermal.py b/tests/test_thermal.py
index 054fa59..4d95bbd 100644
--- a/tests/test_thermal.py
+++ b/tests/test_thermal.py
@@ -34,14 +34,14 @@
self.assertEquals(thermal.trace_parser_explode_array(line), expected)
-class TestThermalBase(utils_tests.SetupDirectory):
+class BaseTestThermal(utils_tests.SetupDirectory):
def __init__(self, *args, **kwargs):
- super(TestThermalBase, self).__init__(
+ super(BaseTestThermal, self).__init__(
["trace.dat"],
*args,
**kwargs)
-class TestThermal(TestThermalBase):
+class TestThermal(BaseTestThermal):
def test_get_dataframe(self):
df = Thermal().get_data_frame()
@@ -69,7 +69,7 @@
th_data.plot_temperature(title="Antutu", ylim=[0, 60])
matplotlib.pyplot.close('all')
-class TestThermalGovernor(TestThermalBase):
+class TestThermalGovernor(BaseTestThermal):
def test_do_txt_if_not_there(self):
c = ThermalGovernor()