'Test Module model with minimum parameters'

def test_model_Module_basic(self):

    name = 'test    module'
    title = 'Test    title'
    url = '/test_url/'
    obj = Module(name=name, title=title, url=url)
    obj.save()
    self.assertIsNotNone(obj.id)
    obj = Module.objects.get(id=obj.id)
    self.assertEquals(obj.name, name)
    self.assertEquals(obj.title, title)
    self.assertEquals(obj.url, url)
    self.assertEquals(obj.details, '')
    self.assertTrue(obj.display)
    self.assertTrue(obj.system)
    self.assertEqual(obj.get_absolute_url(), '/admin/module/view/{}'.format(obj.id))
