augur
augur copied to clipboard
Tests for Workers
Is your feature request related to a problem? If so, please describe the problem: We should have tests for workers that, given a set of test repos, like those at http://augur.chaoss.io/api/unstable/repos will verify that the worker accesses the necessary API (where Appropriate), or repo data, or data in the Augur database already (depends on the worker), and is able to persist the results as expected in the tables.
Potential solutions: Pytest is the preferred method. These tests require a stable database with repo_ids that are consistent. They should be written against http://augur.chaoss.io/unstable/repos. A copy of this database can be provided for local development upon request.

The platform identifier for a message is also desired.