* Move logic that resubmits a task and then deletes the original into an action function that can be used for both failure and success resubmission.
* Use the resubmit_task action in the FailAdmin.
* Add the resubmit_task action to the TaskAdmin class.
* Update resubmit failure test to reflect using the new resubmit action.
* Add a test for resubmitting successful tasks.
---------
Co-authored-by: Scott Pashley
* Black linting
* Adding Black to dev dependencies and upping minimal python to 3.6.2 for compatibility
* Updating packages
* Removing pip-tools input and exporting requirements with poetry
* Deleting old setup files and test runner
* Trying 1.3.7
* Looser extras requirements to prevent conflicts
* Sorted imports with isort
* Added iSort to dev dependencies
* Fixes localtime for naive setups
The test suite, especially for the brokers, was heavily dependant on the
success of the tests preceeding it to pass. This commit should eliminate
that dependency and allow tests to fail without affecting others.
It also removes the need to cleanup globals manually after a test.
The core module was becoming too large.
By splitting it in cluster, monitor and tasks it becomes more manageable. It also reflects the documentation structure.