Ejemplo n.º 1
0
    def setUp(self):

        self.test_pilot = Pilot()
        self.test_pilot.name = "Marco Merli"
        self.test_pilot.save()

        self.test_vehicle = Vehicle()
        self.test_vehicle.name = "F3"
        self.test_vehicle.save()

        self.test_raceway = Raceway()
        self.test_raceway.name = "Interlagos"
        self.test_raceway.save()
Ejemplo n.º 2
0
class TestCaseUnit(TestCase):

    test_pilot = None
    test_vehicle = None
    test_raceway = None

    def setUp(self):

        self.test_pilot = Pilot()
        self.test_pilot.name = "Marco Merli"
        self.test_pilot.save()

        self.test_vehicle = Vehicle()
        self.test_vehicle.name = "F3"
        self.test_vehicle.save()

        self.test_raceway = Raceway()
        self.test_raceway.name = "Interlagos"
        self.test_raceway.save()
Ejemplo n.º 3
0
class TestCaseUnit(TestCase):
	
	test_pilot = None
	test_vehicle = None
	test_raceway = None
	
	def setUp(self):
		
		self.test_pilot = Pilot()
		self.test_pilot.name = "Marco Merli"
		self.test_pilot.save()
		
		self.test_vehicle = Vehicle()
		self.test_vehicle.name = "F3"
		self.test_vehicle.save()
		
		self.test_raceway = Raceway()
		self.test_raceway.name = "Interlagos"
		self.test_raceway.save()
Ejemplo n.º 4
0
	def setUp(self):
		
		self.test_pilot = Pilot()
		self.test_pilot.name = "Marco Merli"
		self.test_pilot.save()
		
		self.test_vehicle = Vehicle()
		self.test_vehicle.name = "F3"
		self.test_vehicle.save()
		
		self.test_raceway = Raceway()
		self.test_raceway.name = "Interlagos"
		self.test_raceway.save()