class TestPerson(unittest.TestCase):
    def setUp(self):
        print "calling setup"
        self.person = Person(first_name="krace", last_name="kumar", age=24)

    def test_get_age(self):
        self.assertEqual(self.person.get_age(), 24)

    def test_is_major(self):
        self.assertTrue(self.person.is_major())
class TestPerson(unittest.TestCase):
    def setUp(self):
        print "calling setup"
        self.person = Person(first_name="krace",
                             last_name="kumar",
                             age=24)
    def test_get_age(self):
        self.assertEqual(self.person.get_age(), 24)

    def test_is_major(self):
        self.assertTrue(self.person.is_major())
 def setUp(self):
     print "calling setup"
     self.person = Person(first_name="krace",
                          last_name="kumar",
                          age=24)
 def setUp(self):
     print "calling setup"
     self.person = Person(first_name="krace", last_name="kumar", age=24)