Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Created November 4, 2011 15:46
Show Gist options
  • Select an option

  • Save terrycojones/1339644 to your computer and use it in GitHub Desktop.

Select an option

Save terrycojones/1339644 to your computer and use it in GitHub Desktop.
class FormTestClass(AccountsTestClass):
def test_ntoll(self):
data = {
'username': self.TEST_USERNAME + self.TEST_DOMAINNAME,
'name': self.TEST_NAME,
'email': self.TEST_EMAIL,
}
print 'now'
print 'data before test is', data
f = NewUserForm(data)
self.assertEquals(False, f.is_valid(), f.errors)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment