Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update addons-linter to 0.1.0 #2517

Merged
merged 1 commit into from
Apr 27, 2016
Merged

Update addons-linter to 0.1.0 #2517

merged 1 commit into from
Apr 27, 2016

Conversation

EnTeQuAk
Copy link
Contributor

* Forward listed / unlisted to addons-linter (fixes #1910)
* Update tests to represent corrected id behavior in addons-linter
result = tasks.validate_file_path(
get_addon_file('invalid_webextension_missing_id.xpi'),
get_addon_file('invalid_webextension_invalid_id.xpi'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We validate IDs but don't require them. Should we at least file a bug to move this into the linter? (Or maybe it already does so)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The linter does everything correct. This test is based on the idea that addons-linter actually validates the id for a webextension and amo-validator doesn't so I'm using that to not just test "did I call this?" but also to verify that we get something expected back from the linter.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tofumatt tofumatt self-assigned this Apr 27, 2016
@tofumatt
Copy link
Contributor

r+wc

@EnTeQuAk EnTeQuAk merged commit 8e218f3 into master Apr 27, 2016
@EnTeQuAk EnTeQuAk deleted the feature/addons-linter-0.1.0 branch May 11, 2016 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forward listed/unlisted to addons-linter
2 participants