Closed Bug 1169934 Opened 9 years ago Closed 9 years ago

Get datasource tests running on its Travis & fix flake8 warnings

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(2 files)

Datasource:
* is not being worked on by anyone else other than us
* is annoying to debug when things go wrong, since it requires digging into another repo
* could be pared down quite a bit (eg unnecessary DB-independent abstraction layer) even before we move away from it entirely
* is the last package in our requirements files that is not on pypi (and thus doesn't get installed by tools like landscape.io)

As such I think we should move it into the Treeherder repo.
Assignee: nobody → emorley
The datasource tests aren't currently run on commit anywhere. Before we import datasource or make any more changes, it seems sensible to change that.

After this PR I think it makes sense to convert the tests to py.test so we can then more easily import datasource+tests into the Treeherder repo and run with all of the other tests.
Attachment #8613260 - Flags: review?(mdoglio)
Status: NEW → ASSIGNED
flake8 actually found two real bugs \o/ There are still a couple of flake8 errors - but I need to look at them more closely, since I think they may be due to further bugs in datasource.
Attachment #8613261 - Flags: review?(mdoglio)
Attachment #8613260 - Flags: review?(mdoglio) → review+
Attachment #8613261 - Flags: review?(mdoglio) → review+
Morphing this to be about what landed - I'll file a new bug for the remaining work (since it's less urgent).
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Summary: Move datasource into the treeherder repo → Get datasource tests running on its Travis & fix flake8 warnings
Blocks: 1174137
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: