'alternate: manage.py can execute user commands if settings are provided as argument'

def test_custom_command_with_settings(self):

    args = [u'noargs_command', u'--settings=alternate_settings']
    (out, err) = self.run_manage(args)
    self.assertOutput(out, str_prefix(u"EXECUTE:NoArgsCommand    options=[('pythonpath',    None),    ('settings',    'alternate_settings'),    ('traceback',    None),    ('verbosity',    %(_)s'1')]"))
    self.assertNoOutput(err)
