﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17468	`StartProject.test_simple_project` and `test_simple_project_different_directory` fail under Windows	Aymeric Augustin	Jannis Leidel	"These tests expect to find the string `""File exists""` on stderr, but the actual error message is OS-dependent.

{{{

======================================================================
FAIL: test_simple_project (regressiontests.admin_scripts.tests.StartProject)
Make sure the startproject management command creates a project
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""C:\Documents and Settings\Administrator\Desktop\django-trunk\tests\regressiontests\admin_scripts\tests.py"", line
 1387, in test_simple_project
    self.assertOutput(err, ""File exists"")
  File ""C:\Documents and Settings\Administrator\Desktop\django-trunk\tests\regressiontests\admin_scripts\tests.py"", line
 175, in assertOutput
    self.assertTrue(msg in stream, ""'%s' does not match actual output text '%s'"" % (msg, stream))
AssertionError: 'File exists' does not match actual output text 'Error: [Error 183] Cannot create a file when that file
already exists: 'C:\\Documents and Settings\\Administrator\\Desktop\\django-trunk\\tests\\regressiontests\\testproject'
'

======================================================================
FAIL: test_simple_project_different_directory (regressiontests.admin_scripts.tests.StartProject)
Make sure the startproject management command creates a project in a specific directory
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""C:\Documents and Settings\Administrator\Desktop\django-trunk\tests\regressiontests\admin_scripts\tests.py"", line
 1403, in test_simple_project_different_directory
    self.assertOutput(err, ""File exists"")
  File ""C:\Documents and Settings\Administrator\Desktop\django-trunk\tests\regressiontests\admin_scripts\tests.py"", line
 175, in assertOutput
    self.assertTrue(msg in stream, ""'%s' does not match actual output text '%s'"" % (msg, stream))
AssertionError: 'File exists' does not match actual output text 'Error: [Error 183] Cannot create a file when that file
already exists: 'othertestproject\\testproject'
'
}}}"	Bug	closed	Core (Management commands)	1.4-alpha-1	Release blocker	fixed			Accepted	0	0	0	0	0	0
