'Make sure an exception is raised when the provided
destination directory doesn\'t exist'

def test_custom_project_destination_missing(self):

    template_path = os.path.join(custom_templates_dir, u'project_template')
    args = [u'startproject', u'--template', template_path, u'yet_another_project', u'project_dir2']
    testproject_dir = os.path.join(test_dir, u'project_dir2')
    (out, err) = self.run_django_admin(args)
    self.assertNoOutput(out)
    self.assertOutput(err, (u"Destination    directory    '%s'    does    not    exist,    please    create    it    first." % testproject_dir))
    self.assertFalse(os.path.exists(testproject_dir))
