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

Making Python test webserver use host machines IP for testing instead of... #185

Closed
wants to merge 2 commits into from

Conversation

glasspear
Copy link

... localhost. This will allow for remote devices to be used in testing.

Updated all tests to use new method.

… of localhost. This will allow for remote devices to be used in testing

Updated all tests to use new method.
@glasspear
Copy link
Author

I should note I have a CLA signed for BlackBerry Ltd under rcraigbarnes@blackberry.com, this account just happens to be my github account.

@lukeis
Copy link
Member

lukeis commented Mar 13, 2014

lgtm.

But don't we need to add the Selenium header to the top of the new file? @AutomatedTester :)

@glasspear
Copy link
Author

Is there anything that I need to do to move this along? I'd like to get this through so I can deal with the rest of the BlackBerry stuff that is coming :)

@andreastt
Copy link
Member

The patch looks good to me. But I'm concerned about the legal side of including that new file. Maybe @AutomatedTester or @shs96c can say something about it.

@@ -0,0 +1,30 @@
# this comes from this stack overflow post:
Copy link
Member

Choose a reason for hiding this comment

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

I have looked into this fully and we have met the original requirements for using this code on Web-platform-tests. StackOverflow code is cc-wiki + attribution for full programs but excerpts should just have attribution which all of StackOverflow falls under (see Jeff Atwoods thoughts on the matter.)

This means we should have a link to http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html here as well since its come from there. A link will satisfy the W3C licencing rules

@andreastt
Copy link
Member

Excellent. @glasspear, will you make it so?

@glasspear
Copy link
Author

👍 no problem, these are all simple enough tweaks :)

Updated network.py to include W3C copyright
Added en0-en4 to interfaces to cover MacOS
@glasspear
Copy link
Author

Changes are in. Let me know if anything else is needed.

@lukeis
Copy link
Member

lukeis commented Mar 25, 2014

merged with 4334d38

@lukeis lukeis closed this Mar 25, 2014
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.

4 participants