#15778: Command createsuperuser fails under some system user names -------------------------------------+------------------------------------- Reporter: Hynek | Owner: Alex Gaynor Cernoch <hynek@…> | Status: new Type: Bug | Component: contrib.auth Milestone: 1.3 | Severity: Normal Version: 1.3 | Keywords: Resolution: | Has patch: 1 Triage Stage: Accepted | Needs tests: 1 Needs documentation: 0 | Easy pickings: 0 Patch needs improvement: 0 | -------------------------------------+-------------------------------------
Comment (by anonymous): The test can be either formal only and very complicated, because it is not easy to modify output of getpass.getuser() and sys.getfilesystemencoding() or even simulate type of operating system. This is similar requirement like [[#comment:1|julien asked tests replicating this bug]]. I would advice good manual testing and checkout. Do you want really rely on tests like ? {{{ self.assertEqual('ABC'.lower(), 'abc') }}} -- Ticket URL: <http://code.djangoproject.com/ticket/15778#comment:11> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.