Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [jagan@unknown django_dev_setup]$ python2 manage.py runserver
- Validating models...
- /home/jagan/mailman/mailman.client/mailman/__init__.py:19: UserWarning: Module mailman_django was already imported from /home/jagan/mailman/django_dev_setup/mailman_django/__init__.pyc, but /usr/lib/python2.7/site-packages/mailman_django-0.1-py2.7.egg is being added to sys.path
- import pkg_resources
- 0 errors found
- Django version 1.3.1, using settings 'django_dev_setup.settings'
- Development server is running at http://127.0.0.1:8000/
- Quit the server with CONTROL-C.
- [20/Feb/2012 19:47:09] "GET / HTTP/1.1" 200 1838
- [20/Feb/2012 19:47:09] "GET /static/mailman_django/default/css/style.css?v=2 HTTP/1.1" 200 6878
- [20/Feb/2012 19:47:09] "GET /static/mailman_django/default/css/forms.css HTTP/1.1" 200 737
- [20/Feb/2012 19:47:09] "GET /static/defaultmailman_django/default/js/libs/modernizr-1.7.min.js HTTP/1.1" 404 1865
- [20/Feb/2012 19:47:09] "GET /static/mailman_django/default/js/libs/jquery-1.5.1.min.js HTTP/1.1" 200 85259
- [20/Feb/2012 19:47:09] "GET /static/mailman_django/default/js/plugins.js HTTP/1.1" 200 0
- [20/Feb/2012 19:47:09] "GET /static/mailman_django/default/js/script.js HTTP/1.1" 200 19
- ^C[jagan@unknown django_dev_setup]$ python2 manage.py test > testresults
- /home/jagan/mailman/mailman.client/mailman/__init__.py:19: UserWarning: Module mailman_django was already imported from /home/jagan/mailman/django_dev_setup/mailman_django/__init__.pyc, but /usr/lib/python2.7/site-packages/mailman_django-0.1-py2.7.egg is being added to sys.path
- import pkg_resources
- ......................................................................................................................................................................................................................sh: /usr/sbin/postmap: No such file or directory
- Traceback (most recent call last):
- File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
- self.result = application(self.environ, self.start_response)
- File "/home/jagan/mailman/mailman/src/mailman/rest/wsgiapp.py", line 58, in __call__
- environ, start_response)
- File "/usr/lib/python2.7/site-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 18, in __call__
- response = self.get_response(request, resource_or_response)
- File "/usr/lib/python2.7/site-packages/restish-0.12.1-py2.7.egg/restish/app.py", line 65, in get_response
- resource_or_response = resource_or_response(request)
- File "/usr/lib/python2.7/site-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in __call__
- return _dispatch(request, match, lambda r: callable(self, r))
- File "/usr/lib/python2.7/site-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 243, in _dispatch
- response = func(request)
- File "/usr/lib/python2.7/site-packages/restish-0.12.1-py2.7.egg/restish/resource.py", line 212, in <lambda>
- return _dispatch(request, match, lambda r: callable(self, r))
- File "/home/jagan/mailman/mailman/src/mailman/rest/lists.py", line 187, in create
- mlist = create_list(**validator(request))
- File "/home/jagan/mailman/mailman/src/mailman/app/lifecycle.py", line 78, in create_list
- call_name(config.mta.incoming).create(mlist)
- File "/home/jagan/mailman/mailman/src/mailman/mta/postfix.py", line 67, in create
- self.regenerate()
- File "/home/jagan/mailman/mailman/src/mailman/mta/postfix.py", line 109, in regenerate
- raise RuntimeError(msg % (command, status, errstr))
- RuntimeError: command failure: /usr/sbin/postmap /home/jagan/mailman/mailman/var/data/postfix_lmtp, 127, Key has expired
- F
- ======================================================================
- FAIL: Doctest (mailman_django.tests.__test__)
- Doctest: mailman_django.tests.__test__.Doctest
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 2180, in runTest
- raise self.failureException(self.format_failure(new.getvalue()))
- AssertionError: Failed doctest test for mailman_django.tests.__test__.Doctest
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 19, in Doctest
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 28, in mailman_django.tests.__test__.Doctest
- Failed example:
- testobject = setup_mm(Testobject())
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[1]>", line 1, in <module>
- testobject = setup_mm(Testobject())
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/setup.py", line 51, in setup_mm
- subprocess.call([mailman, '-C', cfgfile, 'start', '-q'])
- File "/usr/lib/python2.7/subprocess.py", line 493, in call
- return Popen(*popenargs, **kwargs).wait()
- File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
- errread, errwrite)
- File "/usr/lib/python2.7/subprocess.py", line 1228, in _execute_child
- raise child_exception
- OSError: [Errno 2] No such file or directory
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 212, in mailman_django.tests.__test__.Doctest
- Failed example:
- print type(response) == HttpResponseRedirect
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 220, in mailman_django.tests.__test__.Doctest
- Failed example:
- "New_list1" in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 228, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.get('/lists/new_list1%40mail.example.com/',)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[40]>", line 1, in <module>
- response = c.get('/lists/new_list1%40mail.example.com/',)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 439, in get
- response = super(Client, self).get(path, data=data, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 241, in get
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 231, in mailman_django.tests.__test__.Doctest
- Failed example:
- _("Subscribe") in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 233, in mailman_django.tests.__test__.Doctest
- Failed example:
- _("Archives") in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 235, in mailman_django.tests.__test__.Doctest
- Failed example:
- _("Edit Options") in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 237, in mailman_django.tests.__test__.Doctest
- Failed example:
- _("Unsubscribe") in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 246, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.get(url)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[47]>", line 1, in <module>
- response = c.get(url)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 439, in get
- response = super(Client, self).get(path, data=data, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 241, in get
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 252, in mailman_django.tests.__test__.Doctest
- Failed example:
- "james@example.com" in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 257, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.post(url,
- {"email": "james@example.com",
- "real_name": "James Watt",
- "name": "subscribe",
- "fqdn_listname": "new_list1@mail.example.com"})
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[50]>", line 5, in <module>
- "fqdn_listname": "new_list1@mail.example.com"})
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 449, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 259, in post
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 262, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.post(url,
- {"email": "katie@example.com",
- "real_name": "Katie Doe",
- "name": "subscribe",
- "fqdn_listname": "new_list1@mail.example.com"})
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[51]>", line 5, in <module>
- "fqdn_listname": "new_list1@mail.example.com"})
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 449, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 259, in post
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 267, in mailman_django.tests.__test__.Doctest
- Failed example:
- print (_('Subscribed')+' katie@example.com') in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 272, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.get('/lists/new_list1%40mail.example.com/')
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[53]>", line 1, in <module>
- response = c.get('/lists/new_list1%40mail.example.com/')
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 439, in get
- response = super(Client, self).get(path, data=data, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 241, in get
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 273, in mailman_django.tests.__test__.Doctest
- Failed example:
- "mm_membership" in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 278, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.post('/subscriptions/new_list1%40mail.example.com/unsubscribe',
- {"email": "katie@example.com",
- "name": "unsubscribe",
- "fqdn_listname": "new_list1@mail.example.com"})
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[55]>", line 4, in <module>
- "fqdn_listname": "new_list1@mail.example.com"})
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 449, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 259, in post
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 282, in mailman_django.tests.__test__.Doctest
- Failed example:
- print (_('Unsubscribed')+' katie@example.com') in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 291, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.get(url)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[58]>", line 1, in <module>
- response = c.get(url)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 439, in get
- response = super(Client, self).get(path, data=data, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 241, in get
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 303, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.post(url,
- {"emails": "liza@example.com\ngeorge@example.com"})
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[61]>", line 2, in <module>
- {"emails": "liza@example.com\ngeorge@example.com"})
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 449, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 259, in post
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 309, in mailman_django.tests.__test__.Doctest
- Failed example:
- print _("The mass subscription was successful.") in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 318, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.get('/membership_settings/new_list1%40mail.example.com/')
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[63]>", line 1, in <module>
- response = c.get('/membership_settings/new_list1%40mail.example.com/')
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 439, in get
- response = super(Client, self).get(path, data=data, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 241, in get
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
- response = callback(request, *callback_args, **callback_kwargs)
- File "/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
- return view_func(request, *args, **kwargs)
- File "/home/jagan/mailman/django_dev_setup/mailman_django/views.py", line 438, in user_settings
- the_list = List.objects.get(fqdn_listname=fqdn_listname)
- File "/home/jagan/mailman/django_dev_setup/mailman_django/models.py", line 67, in get
- raise Mailman404Error
- Mailman404Error
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 319, in mailman_django.tests.__test__.Doctest
- Failed example:
- print "Membership Settings" in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 324, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.get('/membership_settings/new_list1%40mail.example.com/')
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[65]>", line 1, in <module>
- response = c.get('/membership_settings/new_list1%40mail.example.com/')
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 439, in get
- response = super(Client, self).get(path, data=data, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 241, in get
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
- response = callback(request, *callback_args, **callback_kwargs)
- File "/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
- return view_func(request, *args, **kwargs)
- File "/home/jagan/mailman/django_dev_setup/mailman_django/views.py", line 438, in user_settings
- the_list = List.objects.get(fqdn_listname=fqdn_listname)
- File "/home/jagan/mailman/django_dev_setup/mailman_django/models.py", line 67, in get
- raise Mailman404Error
- Mailman404Error
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 325, in mailman_django.tests.__test__.Doctest
- Failed example:
- print ("Membership Settings" in response.content) and ("for new_list1@mail.example.com" in response.content)
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 338, in mailman_django.tests.__test__.Doctest
- Failed example:
- print "New_list1" in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 342, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.get('/delete_list/new_list1%40mail.example.com/',)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[69]>", line 1, in <module>
- response = c.get('/delete_list/new_list1%40mail.example.com/',)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 439, in get
- response = super(Client, self).get(path, data=data, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 241, in get
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 343, in mailman_django.tests.__test__.Doctest
- Failed example:
- print "Please confirm" in response.content
- Expected:
- True
- Got:
- False
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 347, in mailman_django.tests.__test__.Doctest
- Failed example:
- response = c.post('/delete_list/new_list1%40mail.example.com/',)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[71]>", line 1, in <module>
- response = c.post('/delete_list/new_list1%40mail.example.com/',)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 449, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.7/site-packages/django/test/client.py", line 259, in post
- return self.request(**r)
- File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 150, in get_response
- response = callback(request, **param_dict)
- File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/usr/lib/python2.7/site-packages/django/views/defaults.py", line 18, in page_not_found
- t = loader.get_template(template_name) # You need to create a 404.html template.
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 157, in get_template
- template, origin = find_template(template_name)
- File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 138, in find_template
- raise TemplateDoesNotExist(name)
- TemplateDoesNotExist: 404.html
- ----------------------------------------------------------------------
- File "/home/jagan/mailman/django_dev_setup/mailman_django/tests/__init__.py", line 359, in mailman_django.tests.__test__.Doctest
- Failed example:
- teardown_mm(testobject)
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/site-packages/django/test/_doctest.py", line 1267, in __run
- compileflags, 1) in test.globs
- File "<doctest mailman_django.tests.__test__.Doctest[74]>", line 1, in <module>
- teardown_mm(testobject)
- NameError: name 'testobject' is not defined
- ----------------------------------------------------------------------
- Ran 215 tests in 7.353s
- FAILED (failures=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement