tools: fix typos in test case class names
@@ -129,10 +129,12 @@ class TestRatbagCtlName(TestRatbagCtl):
self.launch_fail_test("name X")
-class TestRatbgagCtlProfile(TestRatbagCtl):
+class TestRatbagCtlProfile(TestRatbagCtl):
@classmethod
def setUpClass(cls):
- super(TestRatbgagCtlProfile, cls).setUpClass()
+ super(TestRatbagCtlProfile, cls).setUpClass()
+ cls.setProfile(0)
+ cls.setProfile(1)
cls.setProfile(0)
def test_profile_name_get(self):
@@ -209,10 +211,10 @@ class TestRatbgagCtlProfile(TestRatbagCtl):
self.launch_fail_test("profile 10 disable test_device")
-class TestRatbgagCtlResolution(TestRatbagCtl):
+class TestRatbagCtlResolution(TestRatbagCtl):
@classmethod
def setUpClass(cls):
- super(TestRatbgagCtlResolution, cls).setUpClass()
+ super(TestRatbagCtlResolution, cls).setUpClass()
cls.setProfile(1)
def test_resolution_active_get(self):
@@ -266,10 +268,10 @@ class TestRatbgagCtlResolution(TestRatbagCtl):
self.launch_good_test(command + " 1 test_device")
-class TestRatbgagCtlDPI(TestRatbagCtl):
+class TestRatbagCtlDPI(TestRatbagCtl):
@classmethod
def setUpClass(cls):
- super(TestRatbgagCtlDPI, cls).setUpClass()
+ super(TestRatbagCtlDPI, cls).setUpClass()
cls.setProfile(0)
def test_dpi_get(self):
@@ -327,10 +329,10 @@ class TestRatbgagCtlDPI(TestRatbagCtl):
self.launch_fail_test("Profile 1 Resolution 1 Resolution 2 DPI get test_device")
-class TestRatbgagCtlReportRate(TestRatbagCtl):
+class TestRatbagCtlReportRate(TestRatbagCtl):
@classmethod
def setUpClass(cls):
- super(TestRatbgagCtlReportRate, cls).setUpClass()
+ super(TestRatbagCtlReportRate, cls).setUpClass()
cls.setProfile(0)
def test_rate_get(self):
@@ -364,10 +366,10 @@ class TestRatbgagCtlReportRate(TestRatbagCtl):
self.launch_fail_test("Profile 1 Resolution 1 Resolution 2 rate get test_device")
-class TestRatbgagCtlButton(TestRatbagCtl):
+class TestRatbagCtlButton(TestRatbagCtl):
@classmethod
def setUpClass(cls):
- super(TestRatbgagCtlButton, cls).setUpClass()
+ super(TestRatbagCtlButton, cls).setUpClass()
cls.setProfile(0)
def test_button_count(self):
@@ -450,10 +452,10 @@ class TestRatbgagCtlButton(TestRatbagCtl):
self.launch_fail_test("Profile 2 Resolution 2 Button 3 get test_device")
-class TestRatbgagCtlLED(TestRatbagCtl):
+class TestRatbagCtlLED(TestRatbagCtl):
@classmethod
def setUpClass(cls):
- super(TestRatbgagCtlLED, cls).setUpClass()
+ super(TestRatbagCtlLED, cls).setUpClass()
cls.setProfile(0)
def test_led_n_get(self):
