mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-19 06:28:03 +00:00
14 lines
330 B
Python
14 lines
330 B
Python
import unittest
|
|
|
|
import os
|
|
import django
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'ivatar.settings'
|
|
django.setup()
|
|
|
|
|
|
class TestCase(unittest.TestCase):
|
|
def test_run_wsgi(self):
|
|
import ivatar.wsgi
|
|
self.assertEqual(ivatar.wsgi.application.__class__,
|
|
django.core.handlers.wsgi.WSGIHandler)
|