def test_override_SIGNING_SERVER_setting(monkeypatch):
 assert (not settings.SIGNING_SERVER)
 def signing_server(ids, **kwargs):
  assert (settings.SIGNING_SERVER == 'http://example.com')
 monkeypatch.setattr(SIGN_ADDONS, signing_server)
 call_command('sign_addons', 123, signing_server='http://example.com')

def test_override_SIGNING_SERVER_setting ( monkeypatch ) : assert ( not settings . SIGNING_SERVER ) def signing_server ( ids , ** kwargs ) : assert ( settings . SIGNING_SERVER == 'http://example.com' ) monkeypatch . setattr ( SIGN_ADDONS , signing_server ) call_command ( 'sign_addons' , 123 , signing_server = 'http://example.com' )
you can override the signing_server settings .