project/kiwipycon/registration/tests.py
changeset 94 87e77aa18610
parent 93 e86755df35da
child 95 f94e0cd9a862
--- a/project/kiwipycon/registration/tests.py	Thu Apr 01 11:59:35 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-
-
-def test_save_to_pdf():
-    """
-    >>> from .pdf import save_invoice
-    >>> from django.db.models.loading import get_model
-    >>> userModel =  get_model('auth', 'user')
-    >>> user = userModel(username='joe', email='joe@gmail.com',
-    ...         first_name='Joe', last_name='Bloggs')
-    >>> user.save()
-    >>> regModel =  get_model('registration', 'registration')
-    >>> registration = regModel(registrant=user, amount=40,
-    ...          slug='NZPYCON-0001')
-    >>> registration.save()
-
-    >>> save_invoice(user, registration, 'registration/invoice.html')
-
-    """
-    pass