from django.test import TestCase
from apps.info.models import Info


class InfoTestCase(TestCase):
    def setUp(self):
        Info.objects.create(first_name="name",
                            last_name='surname',
                            birthdate='1993-05-25',
                            bio='test_bio',
                            contacts='091235412',
                            )

    def test(self):
        info = Info.objects.get(first_name='name')
        self.assertEqual(info.last_name, 'surname')
        self.assertEqual(info.bio, 'test_bio')

73dc26a65f2ebf133745d99fc7f64524981439db
<mask token>


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

<mask token>


class InfoTestCase(TestCase):

    def setUp(self):
        Info.objects.create(first_name='name', last_name='surname',
            birthdate='1993-05-25', bio='test_bio', contacts='091235412')
    <mask token>

<mask token>


class InfoTestCase(TestCase):

    def setUp(self):
        Info.objects.create(first_name='name', last_name='surname',
            birthdate='1993-05-25', bio='test_bio', contacts='091235412')

    def test(self):
        info = Info.objects.get(first_name='name')
        self.assertEqual(info.last_name, 'surname')
        self.assertEqual(info.bio, 'test_bio')

from django.test import TestCase
from apps.info.models import Info


class InfoTestCase(TestCase):

    def setUp(self):
        Info.objects.create(first_name='name', last_name='surname',
            birthdate='1993-05-25', bio='test_bio', contacts='091235412')

    def test(self):
        info = Info.objects.get(first_name='name')
        self.assertEqual(info.last_name, 'surname')
        self.assertEqual(info.bio, 'test_bio')

from django.test import TestCase
from apps.info.models import Info


class InfoTestCase(TestCase):
    def setUp(self):
        Info.objects.create(first_name="name",
                            last_name='surname',
                            birthdate='1993-05-25',
                            bio='test_bio',
                            contacts='091235412',
                            )

    def test(self):
        info = Info.objects.get(first_name='name')
        self.assertEqual(info.last_name, 'surname')
        self.assertEqual(info.bio, 'test_bio')
