'minimal: manage.py can\'t execute user commands, even if settings are provided in environment'

def test_custom_command_with_environment(self):

    args = [u'noargs_command']
    (out, err) = self.run_manage(args, u'test_project.settings')
    self.assertNoOutput(out)
    self.assertOutput(err, u"Unknown    command:    'noargs_command'")
