]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Don't change settings.STATIC_URL in the XML-RPC tests
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 22 Sep 2015 16:11:46 +0000 (17:11 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 5 Nov 2015 03:56:28 +0000 (03:56 +0000)
commit7297e509222854b88a5a220c2f092bfb863aad0f
treeb1043ad8b6391cb60cb89c55cd0c40ce89d4d9bd
parent403c144d086ec7c21c61cb24b0eadd1cfbd7fe88
tests: Don't change settings.STATIC_URL in the XML-RPC tests

I tracked down a weird bug where the Selenium tests supposed to serve
all static files (.css, .js. ...) weren't doing so when running the
full test suite, but everything was working when running the tests in
isolation.

Turns out one of the other tests was changing settings.STATIC_URL
mid-way without restoring the original value in tearDown() and thus
impacting other tests.

It seems that this change wasn't necessary, the XML-RPC server doesn't
server any static file anyway.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/tests/test_xmlrpc.py