diff options
Diffstat (limited to 'project/kiwipycon/registration/tests.py')
-rw-r--r-- | project/kiwipycon/registration/tests.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/project/kiwipycon/registration/tests.py b/project/kiwipycon/registration/tests.py deleted file mode 100644 index 0ea28b2..0000000 --- a/project/kiwipycon/registration/tests.py +++ /dev/null @@ -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 |