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

Fix #1776 and all related cases #1780

Merged
merged 5 commits into from Jun 2, 2015
Merged

Fix #1776 and all related cases #1780

merged 5 commits into from Jun 2, 2015

Conversation

ralsina
Copy link
Member

@ralsina ralsina commented Jun 1, 2015

Added basic test for #1776

with io.open(conf_path, "a", encoding="utf8") as outf:
outf.write("""\n\nREDIRECTS = [ ("foo.html", "http://www.example.com/"), ]\n\n""")

class RedirectionsTest3(EmptyBuildTest):
Copy link
Member Author

Choose a reason for hiding this comment

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

It's probably much cheaper (as in "runs a lot faster") to put all of these in a single test class if possible.

@ralsina
Copy link
Member Author

ralsina commented Jun 2, 2015

Ok, so all those tests seem to pass in travis, and they pass in my computer. They still fail in yours, @Aeyoun ?

@da2x
Copy link
Contributor

da2x commented Jun 2, 2015

It’s REDIRECTIONS, not REDIRECTS. In any case, I can’t see that it actually runs check -l on this generated site? Setting REDIRECTIONS = [ ( "test.html", "should/trigger/warning.html" ), ] does not fail either.

ralsina added a commit that referenced this pull request Jun 2, 2015
@ralsina ralsina merged commit cac64aa into master Jun 2, 2015
@ralsina ralsina deleted the really-fix-1776 branch June 2, 2015 13:12
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.

None yet

2 participants