from django.test import TestCase
from django.test.client import Client

from model_mommy import mommy

from .models import Vehicle

# Create your tests here.

class ReserveTestCase(TestCase):
    
    def setUp(self):
        self.vehicle = mommy.make(
            'vehicle.Vehicle', reservation_code='1', _quantity=10
        )
        self.client = Client()

    def tearDown(self):
        self.vehicle.delete()


a3dfcbcafaaa634f396f1d7320a67293b2d952b1
<mask token>


class ReserveTestCase(TestCase):
    <mask token>
    <mask token>

<mask token>


class ReserveTestCase(TestCase):

    def setUp(self):
        self.vehicle = mommy.make('vehicle.Vehicle', reservation_code='1',
            _quantity=10)
        self.client = Client()
    <mask token>

<mask token>


class ReserveTestCase(TestCase):

    def setUp(self):
        self.vehicle = mommy.make('vehicle.Vehicle', reservation_code='1',
            _quantity=10)
        self.client = Client()

    def tearDown(self):
        self.vehicle.delete()

from django.test import TestCase
from django.test.client import Client
from model_mommy import mommy
from .models import Vehicle


class ReserveTestCase(TestCase):

    def setUp(self):
        self.vehicle = mommy.make('vehicle.Vehicle', reservation_code='1',
            _quantity=10)
        self.client = Client()

    def tearDown(self):
        self.vehicle.delete()

from django.test import TestCase
from django.test.client import Client

from model_mommy import mommy

from .models import Vehicle

# Create your tests here.

class ReserveTestCase(TestCase):
    
    def setUp(self):
        self.vehicle = mommy.make(
            'vehicle.Vehicle', reservation_code='1', _quantity=10
        )
        self.client = Client()

    def tearDown(self):
        self.vehicle.delete()

