Ticket #10267 (closed: fixed)
Tests for QueueProcessor
Reported by: | MarcusNoble | Owned by: | MarcusNoble |
---|---|---|---|
Priority: | major | Milestone: | Release 3.3 |
Component: | Tools | Keywords: | AUTOREDUCTION |
Cc: | doucetm@…, tom.griffin@…, nick.draper@…, anders.markvardsen@… | Blocked By: | |
Blocking: | #10186 | Tester: | Anders Markvardsen |
Description (last modified by MarcusNoble) (diff)
Create a test suit that tests the QueueProcessor.py (See #10186)
For Tester:
(Access to datareducedev.isis.cclrc.ac.uk is preferable as avoids the need to set up a system.)
- Install and configure according to https://github.com/mantidproject/autoreduce/blob/master/WebApp/ISIS/README.md
- run python /var/www/autoreduce_webapp/manage.py test autoreduce_webapp.tests.QueueProcessorTestCase in the autoreduce_webapp directory.
- Ensure all 17 tests pass successfully
Expected output:
[root@datareducedev autoreduce_webapp]# python manage.py test autoreduce_webapp.tests.QueueProcessorTestCase Creating test database for alias 'default'... /usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1222: RuntimeWarning: DateTimeField ScriptFile.created received a naive datetime (2014-09-16 00:00:00) while time zone support is active. RuntimeWarning) ................. ---------------------------------------------------------------------- Ran 17 tests in 19.935s OK Destroying test database for alias 'default'...
Change History
Note: See
TracTickets for help on using
tickets.