'Test Perspective model with minimum parameters'

def test_model_Perspective_basic(self):

    name = 'test'
    obj = Perspective(name=name)
    obj.save()
    self.assertIsNotNone(obj.id)
    obj = Perspective.objects.get(id=obj.id)
    self.assertEqual(obj.name, name)
    self.assertEqual(obj.details, '')
    self.assertQuerysetEqual(obj.modules.all(), [])
    self.assertQuerysetEqual(obj.get_modules(), map(repr, Module.objects.all()))
    self.assertEqual(obj.get_absolute_url(), '/admin/perspective/view/{}'.format(obj.id))
