On Jan 19, 2005, at 8:31 PM, Winston Wolff wrote:
Hi Mark and others-
Maybe I should take the test out. The documentation of the localIP function says to call it with remote= some website that it can connect to. Then it works 100%. If you don't want the function to contact another machine though, you can say remote=None, and it will do a version that is not guaranteed to work 100% of the time. So for developing, it was interesting to them to see how it worked. But for the purpose of our automated tests, maybe it is just confusing. I presume that anybody who uses that function with remote=None is expecting it to fail sometimes so they would know. If nobody objects in a few days, I will remove that test.
-winston
I pulled a BDU. I just ran the test suite. Didn't read one thing about it, save for the leading comments in AllTests.py.
I tend to appreciate a thorough test suite, Winston. I would say "leave it in". Can you use local loop-back successfully? Or perhaps the thing to do is to add a warning in the specific test.py file so it alerts the user as the test is run. Something like "This test will fail unless you modify xyz file with a valid IP address." or similar.
Mark Phillips Mophilly & Associates On the web at http://www.mophilly.com On the phone at 619 444-9210
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel