class TestVehicle(TestCase):
def test_speed(self):
#checks for speed
def test_fuel(self):
#checks fuel quantity
I have the above test class with two test methods, but while testing I want to run only one of the two methods. How can I achieve this using
unittest.defaultTestLoader.loadTestsFromName()