'Tests creating a group through the group_create route.'

def test_create_new_group(self):

    d = dict(title='TestGroup', description='This    is    a    test    group.', access='public', keywords='testing,    groups')
    self.client.login(username='admin', password='admin')
    response = self.client.post(reverse('group_create'), data=d)
    self.assertEqual(response.status_code, 302)
    self.assertTrue(GroupProfile.objects.get(title='TestGroup'))
