Hello,
I was trying to figure out how to run tests against web2py (in the case 
where I contribute changes to web2py).
Ran 
python web2py.py --help 


This listed --run-system-tests as an option

Ran this, and this is the output I see (I have to kill the process; unable 
to stop it otherwise)

testInvalidUrls (gluon.tests.test_is_url.TestIsGenericUrl) ... ok
testPrepending (gluon.tests.test_is_url.TestIsGenericUrl) ... ok
testValidUrls (gluon.tests.test_is_url.TestIsGenericUrl) ... ok
testInvalidUrls (gluon.tests.test_is_url.TestIsHttpUrl) ... ok
testPrepending (gluon.tests.test_is_url.TestIsHttpUrl) ... ok
testValidUrls (gluon.tests.test_is_url.TestIsHttpUrl) ... ok
testExceptionalUse (gluon.tests.test_is_url.TestIsUrl) ... ok
testModeGeneric (gluon.tests.test_is_url.TestIsUrl) ... ok
testModeHttp (gluon.tests.test_is_url.TestIsUrl) ... ok
testRun (gluon.tests.test_dal.TestJoin) ... ok
test_reads_and_writes (gluon.tests.test_languages.TestLanguagesParallel) ... 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 380, 
in main
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    prepare(preparation_data)
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 380, 
in main
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 488, 
in prepare
        prepare(preparation_data)
assert main_name not in sys.modules, main_name
Traceback (most recent call last):
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 488, 
in prepare
AssertionError  File "<string>", line 1, in <module>
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 380, 
in main
    Traceback (most recent call last):
    Traceback (most recent call last):
  File "<string>", line 1, in <module>
:   File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 
380, in main
  File "<string>", line 1, in <module>
Traceback (most recent call last):
    assert main_name not in sys.modules, main_name
Traceback (most recent call last):
_  File "<string>", line 1, in <module>
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 380, 
in main
prepare(preparation_data)
  File "<string>", line 1, in <module>
prepare(preparation_data)
AssertionErrorTraceback (most recent call last):
_main__  File "D:\programs\open\python27\lib\multiprocessing\forking.py",line 
380, in main
    prepare(preparation_data)
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 488, 
in prepare
:       File "<string>", line 1, in <module>
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 488, 
in prepare
Traceback (most recent call last):
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 380, 
in main
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 488, 
in prepare
_prepare(preparation_data)
  File "D:\programs\open\python27\lib\multiprocessing\forking.py", line 380, 
in main


I am running these tests on Window 8.1, from within the power-shell. I am 
suspecting this is an OS related issue; where I need to run the tests on a 
*nix box?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to