'Make sure https is an admin-only attribute'

def test_https(self):

    form = DomainForm({'domain': 'example.com', 'canonical': True}, project=self.project)
    self.assertTrue(form.is_valid())
    domain = form.save()
    self.assertFalse(domain.https)
    form = DomainForm({'domain': 'example.com', 'canonical': True, 'https': True}, project=self.project)
    self.assertFalse(form.is_valid())
