mdipierro/web2py — pull request #22 by msabramo (2012-05-04 21:16:17+00:00)
Title: Tox

```
$ pip install tox

_________________________________ [tox sdist] __________________________________
[TOX] ***creating sdist package
[TOX] /Users/marca/dev/git-repos/web2py$ /Users/marca/.pythonbrew/pythons/Python-2.7.2/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist >.tox/log/0.log
[TOX] ***copying new sdistfile to '/Users/marca/.tox/distshare/web2py-1.99.7.zip'
______________________________ [tox testenv:py25] ______________________________
[TOX] ***reusing existing matching virtualenv py25
[TOX] ***upgrade-installing sdist
[TOX] /Users/marca/dev/git-repos/web2py/.tox/py25/log$ ../bin/pip install --download-cache=/Users/marca/dev/git-repos/web2py/.tox/_download /Users/marca/dev/git-repos/web2py/.tox/dist/web2py-1.99.7.zip -U --no-deps >5.log
[TOX] /Users/marca/dev/git-repos/web2py$ .tox/py25/bin/unit2 -v gluon.tests
WARNING:root:Skipped test case, no multiprocessing module.
testSQLALL (gluon.tests.test_dal.TestAll) ... ok
testA (gluon.tests.test_html.TestBareHelpers) ... ok
testB (gluon.tests.test_html.TestBareHelpers) ... ok
testBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testBR (gluon.tests.test_html.TestBareHelpers) ... ok
testCENTER (gluon.tests.test_html.TestBareHelpers) ... ok
testDIV (gluon.tests.test_html.TestBareHelpers) ... ok
testEM (gluon.tests.test_html.TestBareHelpers) ... ok
testEMBED (gluon.tests.test_html.TestBareHelpers) ... ok
testFIELDSET (gluon.tests.test_html.TestBareHelpers) ... ok
testFORM (gluon.tests.test_html.TestBareHelpers) ... ok
testH1 (gluon.tests.test_html.TestBareHelpers) ... ok
testH2 (gluon.tests.test_html.TestBareHelpers) ... ok
testH3 (gluon.tests.test_html.TestBareHelpers) ... ok
testH4 (gluon.tests.test_html.TestBareHelpers) ... ok
testH5 (gluon.tests.test_html.TestBareHelpers) ... ok
testH6 (gluon.tests.test_html.TestBareHelpers) ... ok
testHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testHR (gluon.tests.test_html.TestBareHelpers) ... ok
testHTML (gluon.tests.test_html.TestBareHelpers) ... ok
testIFRAME (gluon.tests.test_html.TestBareHelpers) ... ok
testIMG (gluon.tests.test_html.TestBareHelpers) ... ok
testINPUT (gluon.tests.test_html.TestBareHelpers) ... ok
testLABEL (gluon.tests.test_html.TestBareHelpers) ... ok
testLI (gluon.tests.test_html.TestBareHelpers) ... ok
testLINK (gluon.tests.test_html.TestBareHelpers) ... ok
testMETA (gluon.tests.test_html.TestBareHelpers) ... ok
testOBJECT (gluon.tests.test_html.TestBareHelpers) ... ok
testOL (gluon.tests.test_html.TestBareHelpers) ... ok
testOPTION (gluon.tests.test_html.TestBareHelpers) ... ok
testP (gluon.tests.test_html.TestBareHelpers) ... ok
testPRE (gluon.tests.test_html.TestBareHelpers) ... ok
testSCRIPT (gluon.tests.test_html.TestBareHelpers) ... ok
testSELECT (gluon.tests.test_html.TestBareHelpers) ... ok
testSPAN (gluon.tests.test_html.TestBareHelpers) ... ok
testSTYLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTABLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testTD (gluon.tests.test_html.TestBareHelpers) ... ok
testTEXTAREA (gluon.tests.test_html.TestBareHelpers) ... ok
testTFOOT (gluon.tests.test_html.TestBareHelpers) ... ok
testTH (gluon.tests.test_html.TestBareHelpers) ... ok
testTHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testTITLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTR (gluon.tests.test_html.TestBareHelpers) ... ok
testTT (gluon.tests.test_html.TestBareHelpers) ... ok
testUL (gluon.tests.test_html.TestBareHelpers) ... ok
testRun (gluon.tests.test_dal.TestBelongs) ... ok
testCacheInRam (gluon.tests.test_cache.TestCache) ... ok
testCacheOnDisk (gluon.tests.test_cache.TestCache) ... ok
testRun (gluon.tests.test_dal.TestClientLevelOps) ... ok
testRun (gluon.tests.test_dal.TestDatetime) ... ok
testRun (gluon.tests.test_dal.TestExpressions) ... ok
testFieldFormatters (gluon.tests.test_dal.TestFields) ... ok
testFieldLabels (gluon.tests.test_dal.TestFields) ... ok
testFieldName (gluon.tests.test_dal.TestFields) ... ok
testFieldTypes (gluon.tests.test_dal.TestFields) ... ok
testRun (gluon.tests.test_dal.TestFields) ... ERROR
testRun (gluon.tests.test_dal.TestInsert) ... ok
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
testRun (gluon.tests.test_dal.TestLike) ... ok
testRun (gluon.tests.test_dal.TestMigrations) ... ok
testRun (gluon.tests.test_dal.TestMinMaxSum) ... ok
testRun (gluon.tests.test_dal.TestReferece) ... ok
test_request_collide (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_router.TestRouter) ... ok
test_router_absolute (gluon.tests.test_router.TestRouter) ... ok
test_router_app (gluon.tests.test_router.TestRouter)
Tests the doctest router app resolution ... ok
test_router_args (gluon.tests.test_router.TestRouter) ... ok
test_router_defapp (gluon.tests.test_router.TestRouter)
Test the default-application function ... ok
test_router_domains (gluon.tests.test_router.TestRouter) ... ok
test_router_domains_fs (gluon.tests.test_router.TestRouter) ... ok
test_router_error (gluon.tests.test_router.TestRouter) ... ok
test_router_functions (gluon.tests.test_router.TestRouter) ... ok
test_router_get_effective (gluon.tests.test_router.TestRouter) ... ok
test_router_hyphen (gluon.tests.test_router.TestRouter) ... ok
test_router_lang (gluon.tests.test_router.TestRouter) ... ok
test_router_nodef (gluon.tests.test_router.TestRouter)
Test no-default functions ... ok
test_router_null (gluon.tests.test_router.TestRouter)
Tests the null router ... ok
test_router_out (gluon.tests.test_router.TestRouter) ... ok
test_router_prefix (gluon.tests.test_router.TestRouter) ... ok
test_router_raise (gluon.tests.test_router.TestRouter) ... ok
test_router_specific (gluon.tests.test_router.TestRouter) ... ok
test_router_syntax (gluon.tests.test_router.TestRouter)
Test router syntax error ... ok
test_routes_anchor (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_absolute (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_anchor (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_args (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_defapp (gluon.tests.test_routes.TestRoutes)
Test the default-application function ... ok
test_routes_error (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_null (gluon.tests.test_routes.TestRoutes)
Tests a null routes table ... ok
test_routes_query (gluon.tests.test_routes.TestRoutes)
Test query appending ... ok
test_routes_raise (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_specific (gluon.tests.test_routes.TestRoutes) ... ok
testRun (gluon.tests.test_dal.TestSelect) ... ok
test_attribute (gluon.tests.test_storage.TestStorage)
Tests Storage attribute handling ... ok
test_item (gluon.tests.test_storage.TestStorage)
Tests Storage item handling ... ok
test_store_none (gluon.tests.test_storage.TestStorage)
Test Storage store-None handling ... ok
testTableAlias (gluon.tests.test_dal.TestTable) ... ok
testTableCreation (gluon.tests.test_dal.TestTable) ... ok
testTableInheritance (gluon.tests.test_dal.TestTable) ... ok
testInvalidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
testUnicodeToAsciiUrl (gluon.tests.test_is_url.TestUnicode) ... ok
testValidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
test_md5_hash (gluon.tests.test_utils.TestUtils)
Tests the md5_hash function ... ok
testEqualWrite (gluon.tests.test_template.TestVirtualFields)
test generation of response.write from = ... ok
testRun (gluon.tests.test_template.TestVirtualFields) ... ok

======================================================================
ERROR: testRun (gluon.tests.test_dal.TestFields)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/marca/dev/git-repos/web2py/.tox/py25/lib/python2.5/site-packages/gluon/tests/test_dal.py", line 130, in testRun
self.assertEqual(db().select(db.t.a)[0].a, t0)
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 8082, in select
return adapter.select(self.query,fields,attributes)
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 1380, in select
rows = response(sql)
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 1370, in response
self.execute(sql)
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 1463, in execute
return self.log_execute(*a, **b)
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 1457, in log_execute
ret = self.cursor.execute(*a, **b)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/sqlite3/dbapi2.py", line 63, in convert_date
return datetime.date(*map(int, val.split("-")))
ValueError: invalid literal for int() with base 10: '21 10:30:55'

----------------------------------------------------------------------
Ran 117 tests in 0.476s

FAILED (errors=1)
[TOX] ERROR: InvocationError: '.tox/py25/bin/unit2 -v gluon.tests'
______________________________ [tox testenv:py26] ______________________________
[TOX] ***reusing existing matching virtualenv py26
[TOX] ***upgrade-installing sdist
[TOX] /Users/marca/dev/git-repos/web2py/.tox/py26/log$ ../bin/pip install --download-cache=/Users/marca/dev/git-repos/web2py/.tox/_download /Users/marca/dev/git-repos/web2py/.tox/dist/web2py-1.99.7.zip -U --no-deps >5.log
[TOX] /Users/marca/dev/git-repos/web2py$ .tox/py26/bin/unit2 -v gluon.tests
testSQLALL (gluon.tests.test_dal.TestAll) ... ok
testA (gluon.tests.test_html.TestBareHelpers) ... ok
testB (gluon.tests.test_html.TestBareHelpers) ... ok
testBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testBR (gluon.tests.test_html.TestBareHelpers) ... ok
testCENTER (gluon.tests.test_html.TestBareHelpers) ... ok
testDIV (gluon.tests.test_html.TestBareHelpers) ... ok
testEM (gluon.tests.test_html.TestBareHelpers) ... ok
testEMBED (gluon.tests.test_html.TestBareHelpers) ... ok
testFIELDSET (gluon.tests.test_html.TestBareHelpers) ... ok
testFORM (gluon.tests.test_html.TestBareHelpers) ... ok
testH1 (gluon.tests.test_html.TestBareHelpers) ... ok
testH2 (gluon.tests.test_html.TestBareHelpers) ... ok
testH3 (gluon.tests.test_html.TestBareHelpers) ... ok
testH4 (gluon.tests.test_html.TestBareHelpers) ... ok
testH5 (gluon.tests.test_html.TestBareHelpers) ... ok
testH6 (gluon.tests.test_html.TestBareHelpers) ... ok
testHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testHR (gluon.tests.test_html.TestBareHelpers) ... ok
testHTML (gluon.tests.test_html.TestBareHelpers) ... ok
testIFRAME (gluon.tests.test_html.TestBareHelpers) ... ok
testIMG (gluon.tests.test_html.TestBareHelpers) ... ok
testINPUT (gluon.tests.test_html.TestBareHelpers) ... ok
testLABEL (gluon.tests.test_html.TestBareHelpers) ... ok
testLI (gluon.tests.test_html.TestBareHelpers) ... ok
testLINK (gluon.tests.test_html.TestBareHelpers) ... ok
testMETA (gluon.tests.test_html.TestBareHelpers) ... ok
testOBJECT (gluon.tests.test_html.TestBareHelpers) ... ok
testOL (gluon.tests.test_html.TestBareHelpers) ... ok
testOPTION (gluon.tests.test_html.TestBareHelpers) ... ok
testP (gluon.tests.test_html.TestBareHelpers) ... ok
testPRE (gluon.tests.test_html.TestBareHelpers) ... ok
testSCRIPT (gluon.tests.test_html.TestBareHelpers) ... ok
testSELECT (gluon.tests.test_html.TestBareHelpers) ... ok
testSPAN (gluon.tests.test_html.TestBareHelpers) ... ok
testSTYLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTABLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testTD (gluon.tests.test_html.TestBareHelpers) ... ok
testTEXTAREA (gluon.tests.test_html.TestBareHelpers) ... ok
testTFOOT (gluon.tests.test_html.TestBareHelpers) ... ok
testTH (gluon.tests.test_html.TestBareHelpers) ... ok
testTHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testTITLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTR (gluon.tests.test_html.TestBareHelpers) ... ok
testTT (gluon.tests.test_html.TestBareHelpers) ... ok
testUL (gluon.tests.test_html.TestBareHelpers) ... ok
testRun (gluon.tests.test_dal.TestBelongs) ... ok
testCacheInRam (gluon.tests.test_cache.TestCache) ... ok
testCacheOnDisk (gluon.tests.test_cache.TestCache) ... ok
testRun (gluon.tests.test_dal.TestClientLevelOps) ... ok
testRun (gluon.tests.test_dal.TestDatetime) ... ok
testRun (gluon.tests.test_dal.TestExpressions) ... ok
testFieldFormatters (gluon.tests.test_dal.TestFields) ... ok
testFieldLabels (gluon.tests.test_dal.TestFields) ... ok
testFieldName (gluon.tests.test_dal.TestFields) ... ok
testFieldTypes (gluon.tests.test_dal.TestFields) ... ok
testRun (gluon.tests.test_dal.TestFields) ... ok
testRun (gluon.tests.test_dal.TestInsert) ... ok
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) ... ok
testRun (gluon.tests.test_dal.TestLike) ... ok
testRun (gluon.tests.test_dal.TestMigrations) ... ok
testRun (gluon.tests.test_dal.TestMinMaxSum) ... ok
testRun (gluon.tests.test_dal.TestReferece) ... ok
test_request_collide (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_router.TestRouter) ... ok
test_router_absolute (gluon.tests.test_router.TestRouter) ... ok
test_router_app (gluon.tests.test_router.TestRouter)
Tests the doctest router app resolution ... ok
test_router_args (gluon.tests.test_router.TestRouter) ... ok
test_router_defapp (gluon.tests.test_router.TestRouter)
Test the default-application function ... ok
test_router_domains (gluon.tests.test_router.TestRouter) ... ok
test_router_domains_fs (gluon.tests.test_router.TestRouter) ... ok
test_router_error (gluon.tests.test_router.TestRouter) ... ok
test_router_functions (gluon.tests.test_router.TestRouter) ... ok
test_router_get_effective (gluon.tests.test_router.TestRouter) ... ok
test_router_hyphen (gluon.tests.test_router.TestRouter) ... ok
test_router_lang (gluon.tests.test_router.TestRouter) ... ok
test_router_nodef (gluon.tests.test_router.TestRouter)
Test no-default functions ... ok
test_router_null (gluon.tests.test_router.TestRouter)
Tests the null router ... ok
test_router_out (gluon.tests.test_router.TestRouter) ... ok
test_router_prefix (gluon.tests.test_router.TestRouter) ... ok
test_router_raise (gluon.tests.test_router.TestRouter) ... ok
test_router_specific (gluon.tests.test_router.TestRouter) ... ok
test_router_syntax (gluon.tests.test_router.TestRouter)
Test router syntax error ... ok
test_routes_anchor (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_absolute (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_anchor (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_args (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_defapp (gluon.tests.test_routes.TestRoutes)
Test the default-application function ... ok
test_routes_error (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_null (gluon.tests.test_routes.TestRoutes)
Tests a null routes table ... ok
test_routes_query (gluon.tests.test_routes.TestRoutes)
Test query appending ... ok
test_routes_raise (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_specific (gluon.tests.test_routes.TestRoutes) ... ok
testRun (gluon.tests.test_dal.TestSelect) ... ok
test_attribute (gluon.tests.test_storage.TestStorage)
Tests Storage attribute handling ... ok
test_item (gluon.tests.test_storage.TestStorage)
Tests Storage item handling ... ok
test_store_none (gluon.tests.test_storage.TestStorage)
Test Storage store-None handling ... ok
testTableAlias (gluon.tests.test_dal.TestTable) ... ok
testTableCreation (gluon.tests.test_dal.TestTable) ... ok
testTableInheritance (gluon.tests.test_dal.TestTable) ... ok
testInvalidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
testUnicodeToAsciiUrl (gluon.tests.test_is_url.TestUnicode) ... ok
testValidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
test_md5_hash (gluon.tests.test_utils.TestUtils)
Tests the md5_hash function ... ok
testEqualWrite (gluon.tests.test_template.TestVirtualFields)
test generation of response.write from = ... ok
testRun (gluon.tests.test_template.TestVirtualFields) ... ok

----------------------------------------------------------------------
Ran 118 tests in 1.655s

OK
______________________________ [tox testenv:py27] ______________________________
[TOX] ***reusing existing matching virtualenv py27
[TOX] ***upgrade-installing sdist
[TOX] /Users/marca/dev/git-repos/web2py/.tox/py27/log$ ../bin/pip install --download-cache=/Users/marca/dev/git-repos/web2py/.tox/_download /Users/marca/dev/git-repos/web2py/.tox/dist/web2py-1.99.7.zip -U --no-deps >5.log
[TOX] /Users/marca/dev/git-repos/web2py$ .tox/py27/bin/unit2 -v gluon.tests
testSQLALL (gluon.tests.test_dal.TestAll) ... ok
testA (gluon.tests.test_html.TestBareHelpers) ... ok
testB (gluon.tests.test_html.TestBareHelpers) ... ok
testBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testBR (gluon.tests.test_html.TestBareHelpers) ... ok
testCENTER (gluon.tests.test_html.TestBareHelpers) ... ok
testDIV (gluon.tests.test_html.TestBareHelpers) ... ok
testEM (gluon.tests.test_html.TestBareHelpers) ... ok
testEMBED (gluon.tests.test_html.TestBareHelpers) ... ok
testFIELDSET (gluon.tests.test_html.TestBareHelpers) ... ok
testFORM (gluon.tests.test_html.TestBareHelpers) ... ok
testH1 (gluon.tests.test_html.TestBareHelpers) ... ok
testH2 (gluon.tests.test_html.TestBareHelpers) ... ok
testH3 (gluon.tests.test_html.TestBareHelpers) ... ok
testH4 (gluon.tests.test_html.TestBareHelpers) ... ok
testH5 (gluon.tests.test_html.TestBareHelpers) ... ok
testH6 (gluon.tests.test_html.TestBareHelpers) ... ok
testHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testHR (gluon.tests.test_html.TestBareHelpers) ... ok
testHTML (gluon.tests.test_html.TestBareHelpers) ... ok
testIFRAME (gluon.tests.test_html.TestBareHelpers) ... ok
testIMG (gluon.tests.test_html.TestBareHelpers) ... ok
testINPUT (gluon.tests.test_html.TestBareHelpers) ... ok
testLABEL (gluon.tests.test_html.TestBareHelpers) ... ok
testLI (gluon.tests.test_html.TestBareHelpers) ... ok
testLINK (gluon.tests.test_html.TestBareHelpers) ... ok
testMETA (gluon.tests.test_html.TestBareHelpers) ... ok
testOBJECT (gluon.tests.test_html.TestBareHelpers) ... ok
testOL (gluon.tests.test_html.TestBareHelpers) ... ok
testOPTION (gluon.tests.test_html.TestBareHelpers) ... ok
testP (gluon.tests.test_html.TestBareHelpers) ... ok
testPRE (gluon.tests.test_html.TestBareHelpers) ... ok
testSCRIPT (gluon.tests.test_html.TestBareHelpers) ... ok
testSELECT (gluon.tests.test_html.TestBareHelpers) ... ok
testSPAN (gluon.tests.test_html.TestBareHelpers) ... ok
testSTYLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTABLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testTD (gluon.tests.test_html.TestBareHelpers) ... ok
testTEXTAREA (gluon.tests.test_html.TestBareHelpers) ... ok
testTFOOT (gluon.tests.test_html.TestBareHelpers) ... ok
testTH (gluon.tests.test_html.TestBareHelpers) ... ok
testTHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testTITLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTR (gluon.tests.test_html.TestBareHelpers) ... ok
testTT (gluon.tests.test_html.TestBareHelpers) ... ok
testUL (gluon.tests.test_html.TestBareHelpers) ... ok
testRun (gluon.tests.test_dal.TestBelongs) ... ok
testCacheInRam (gluon.tests.test_cache.TestCache) ... ok
testCacheOnDisk (gluon.tests.test_cache.TestCache) ... ok
testRun (gluon.tests.test_dal.TestClientLevelOps) ... ok
testRun (gluon.tests.test_dal.TestDatetime) ... ok
testRun (gluon.tests.test_dal.TestExpressions) ... ok
testFieldFormatters (gluon.tests.test_dal.TestFields) ... ok
testFieldLabels (gluon.tests.test_dal.TestFields) ... ok
testFieldName (gluon.tests.test_dal.TestFields) ... ok
testFieldTypes (gluon.tests.test_dal.TestFields) ... ok
testRun (gluon.tests.test_dal.TestFields) ... ok
testRun (gluon.tests.test_dal.TestInsert) ... ok
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) ... ok
testRun (gluon.tests.test_dal.TestLike) ... ok
testRun (gluon.tests.test_dal.TestMigrations) ... ok
testRun (gluon.tests.test_dal.TestMinMaxSum) ... ok
testRun (gluon.tests.test_dal.TestReferece) ... ok
test_request_collide (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_router.TestRouter) ... ok
test_router_absolute (gluon.tests.test_router.TestRouter) ... ok
test_router_app (gluon.tests.test_router.TestRouter)
Tests the doctest router app resolution ... ok
test_router_args (gluon.tests.test_router.TestRouter) ... ok
test_router_defapp (gluon.tests.test_router.TestRouter)
Test the default-application function ... ok
test_router_domains (gluon.tests.test_router.TestRouter) ... ok
test_router_domains_fs (gluon.tests.test_router.TestRouter) ... ok
test_router_error (gluon.tests.test_router.TestRouter) ... ok
test_router_functions (gluon.tests.test_router.TestRouter) ... ok
test_router_get_effective (gluon.tests.test_router.TestRouter) ... ok
test_router_hyphen (gluon.tests.test_router.TestRouter) ... ok
test_router_lang (gluon.tests.test_router.TestRouter) ... ok
test_router_nodef (gluon.tests.test_router.TestRouter)
Test no-default functions ... ok
test_router_null (gluon.tests.test_router.TestRouter)
Tests the null router ... ok
test_router_out (gluon.tests.test_router.TestRouter) ... ok
test_router_prefix (gluon.tests.test_router.TestRouter) ... ok
test_router_raise (gluon.tests.test_router.TestRouter) ... ok
test_router_specific (gluon.tests.test_router.TestRouter) ... ok
test_router_syntax (gluon.tests.test_router.TestRouter)
Test router syntax error ... ok
test_routes_anchor (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_absolute (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_anchor (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_args (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_defapp (gluon.tests.test_routes.TestRoutes)
Test the default-application function ... ok
test_routes_error (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_null (gluon.tests.test_routes.TestRoutes)
Tests a null routes table ... ok
test_routes_query (gluon.tests.test_routes.TestRoutes)
Test query appending ... ok
test_routes_raise (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_specific (gluon.tests.test_routes.TestRoutes) ... ok
testRun (gluon.tests.test_dal.TestSelect) ... ok
test_attribute (gluon.tests.test_storage.TestStorage)
Tests Storage attribute handling ... ok
test_item (gluon.tests.test_storage.TestStorage)
Tests Storage item handling ... ok
test_store_none (gluon.tests.test_storage.TestStorage)
Test Storage store-None handling ... ok
testTableAlias (gluon.tests.test_dal.TestTable) ... ok
testTableCreation (gluon.tests.test_dal.TestTable) ... ok
testTableInheritance (gluon.tests.test_dal.TestTable) ... ok
testInvalidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
testUnicodeToAsciiUrl (gluon.tests.test_is_url.TestUnicode) ... ok
testValidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
test_md5_hash (gluon.tests.test_utils.TestUtils)
Tests the md5_hash function ... ok
testEqualWrite (gluon.tests.test_template.TestVirtualFields)
test generation of response.write from = ... ok
testRun (gluon.tests.test_template.TestVirtualFields) ... ok

----------------------------------------------------------------------
Ran 118 tests in 1.738s

OK
______________________________ [tox testenv:pypy] ______________________________
[TOX] ***reusing existing matching virtualenv pypy
[TOX] ***upgrade-installing sdist
[TOX] /Users/marca/dev/git-repos/web2py/.tox/pypy/log$ ../bin/pip install --download-cache=/Users/marca/dev/git-repos/web2py/.tox/_download /Users/marca/dev/git-repos/web2py/.tox/dist/web2py-1.99.7.zip -U --no-deps >5.log
[TOX] /Users/marca/dev/git-repos/web2py$ .tox/pypy/bin/unit2 -v gluon.tests
testSQLALL (gluon.tests.test_dal.TestAll) ... ok
testA (gluon.tests.test_html.TestBareHelpers) ... ok
testB (gluon.tests.test_html.TestBareHelpers) ... ok
testBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testBR (gluon.tests.test_html.TestBareHelpers) ... ok
testCENTER (gluon.tests.test_html.TestBareHelpers) ... ok
testDIV (gluon.tests.test_html.TestBareHelpers) ... ok
testEM (gluon.tests.test_html.TestBareHelpers) ... ok
testEMBED (gluon.tests.test_html.TestBareHelpers) ... ok
testFIELDSET (gluon.tests.test_html.TestBareHelpers) ... ok
testFORM (gluon.tests.test_html.TestBareHelpers) ... ok
testH1 (gluon.tests.test_html.TestBareHelpers) ... ok
testH2 (gluon.tests.test_html.TestBareHelpers) ... ok
testH3 (gluon.tests.test_html.TestBareHelpers) ... ok
testH4 (gluon.tests.test_html.TestBareHelpers) ... ok
testH5 (gluon.tests.test_html.TestBareHelpers) ... ok
testH6 (gluon.tests.test_html.TestBareHelpers) ... ok
testHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testHR (gluon.tests.test_html.TestBareHelpers) ... ok
testHTML (gluon.tests.test_html.TestBareHelpers) ... ok
testIFRAME (gluon.tests.test_html.TestBareHelpers) ... ok
testIMG (gluon.tests.test_html.TestBareHelpers) ... ok
testINPUT (gluon.tests.test_html.TestBareHelpers) ... ok
testLABEL (gluon.tests.test_html.TestBareHelpers) ... ok
testLI (gluon.tests.test_html.TestBareHelpers) ... ok
testLINK (gluon.tests.test_html.TestBareHelpers) ... ok
testMETA (gluon.tests.test_html.TestBareHelpers) ... ok
testOBJECT (gluon.tests.test_html.TestBareHelpers) ... ok
testOL (gluon.tests.test_html.TestBareHelpers) ... ok
testOPTION (gluon.tests.test_html.TestBareHelpers) ... ok
testP (gluon.tests.test_html.TestBareHelpers) ... ok
testPRE (gluon.tests.test_html.TestBareHelpers) ... ok
testSCRIPT (gluon.tests.test_html.TestBareHelpers) ... ok
testSELECT (gluon.tests.test_html.TestBareHelpers) ... ok
testSPAN (gluon.tests.test_html.TestBareHelpers) ... ok
testSTYLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTABLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTBODY (gluon.tests.test_html.TestBareHelpers) ... ok
testTD (gluon.tests.test_html.TestBareHelpers) ... ok
testTEXTAREA (gluon.tests.test_html.TestBareHelpers) ... ok
testTFOOT (gluon.tests.test_html.TestBareHelpers) ... ok
testTH (gluon.tests.test_html.TestBareHelpers) ... ok
testTHEAD (gluon.tests.test_html.TestBareHelpers) ... ok
testTITLE (gluon.tests.test_html.TestBareHelpers) ... ok
testTR (gluon.tests.test_html.TestBareHelpers) ... ok
testTT (gluon.tests.test_html.TestBareHelpers) ... ok
testUL (gluon.tests.test_html.TestBareHelpers) ... ok
testRun (gluon.tests.test_dal.TestBelongs) ... ok
testCacheInRam (gluon.tests.test_cache.TestCache) ... ok
testCacheOnDisk (gluon.tests.test_cache.TestCache) ... ok
testRun (gluon.tests.test_dal.TestClientLevelOps) ... ok
testRun (gluon.tests.test_dal.TestDatetime) ... ok
testRun (gluon.tests.test_dal.TestExpressions) ... ok
testFieldFormatters (gluon.tests.test_dal.TestFields) ... ok
testFieldLabels (gluon.tests.test_dal.TestFields) ... ok
testFieldName (gluon.tests.test_dal.TestFields) ... ok
testFieldTypes (gluon.tests.test_dal.TestFields) ... ok
testRun (gluon.tests.test_dal.TestFields) ... ok
testRun (gluon.tests.test_dal.TestInsert) ... ok
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) ... Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
Exception ValueError: 'I/O operation on closed file' in method __del__ of ? ignored
ok
testRun (gluon.tests.test_dal.TestLike) ... ok
testRun (gluon.tests.test_dal.TestMigrations) ... ok
testRun (gluon.tests.test_dal.TestMinMaxSum) ... ok
testRun (gluon.tests.test_dal.TestReferece) ... ok
test_request_collide (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_router.TestRouter) ... ok
test_router_absolute (gluon.tests.test_router.TestRouter) ... ok
test_router_app (gluon.tests.test_router.TestRouter)
Tests the doctest router app resolution ... ok
test_router_args (gluon.tests.test_router.TestRouter) ... ok
test_router_defapp (gluon.tests.test_router.TestRouter)
Test the default-application function ... ok
test_router_domains (gluon.tests.test_router.TestRouter) ... ok
test_router_domains_fs (gluon.tests.test_router.TestRouter) ... ok
test_router_error (gluon.tests.test_router.TestRouter) ... ok
test_router_functions (gluon.tests.test_router.TestRouter) ... ok
test_router_get_effective (gluon.tests.test_router.TestRouter) ... ok
test_router_hyphen (gluon.tests.test_router.TestRouter) ... ok
test_router_lang (gluon.tests.test_router.TestRouter) ... ok
test_router_nodef (gluon.tests.test_router.TestRouter)
Test no-default functions ... ok
test_router_null (gluon.tests.test_router.TestRouter)
Tests the null router ... ok
test_router_out (gluon.tests.test_router.TestRouter) ... ok
test_router_prefix (gluon.tests.test_router.TestRouter) ... ok
test_router_raise (gluon.tests.test_router.TestRouter) ... ok
test_router_specific (gluon.tests.test_router.TestRouter) ... ok
test_router_syntax (gluon.tests.test_router.TestRouter)
Test router syntax error ... ok
test_routes_anchor (gluon.tests.test_router.TestRouter) ... ok
test_request_uri (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_absolute (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_anchor (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_args (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_defapp (gluon.tests.test_routes.TestRoutes)
Test the default-application function ... ok
test_routes_error (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_null (gluon.tests.test_routes.TestRoutes)
Tests a null routes table ... ok
test_routes_query (gluon.tests.test_routes.TestRoutes)
Test query appending ... ok
test_routes_raise (gluon.tests.test_routes.TestRoutes) ... ok
test_routes_specific (gluon.tests.test_routes.TestRoutes) ... ok
testRun (gluon.tests.test_dal.TestSelect) ... ok
test_attribute (gluon.tests.test_storage.TestStorage)
Tests Storage attribute handling ... ok
test_item (gluon.tests.test_storage.TestStorage)
Tests Storage item handling ... ok
test_store_none (gluon.tests.test_storage.TestStorage)
Test Storage store-None handling ... ok
testTableAlias (gluon.tests.test_dal.TestTable) ... ERROR
testTableCreation (gluon.tests.test_dal.TestTable) ... ok
testTableInheritance (gluon.tests.test_dal.TestTable) ... ok
testInvalidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
testUnicodeToAsciiUrl (gluon.tests.test_is_url.TestUnicode) ... ok
testValidUrls (gluon.tests.test_is_url.TestUnicode) ... ok
test_md5_hash (gluon.tests.test_utils.TestUtils)
Tests the md5_hash function ... ok
testEqualWrite (gluon.tests.test_template.TestVirtualFields)
test generation of response.write from = ... ok
testRun (gluon.tests.test_template.TestVirtualFields) ... ok

======================================================================
ERROR: testTableAlias (gluon.tests.test_dal.TestTable)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/marca/dev/git-repos/web2py/.tox/pypy/site-packages/gluon/tests/test_dal.py", line 175, in testTableAlias
aliens = persons.with_alias('aliens')
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 7408, in with_alias
return self._db._adapter.alias(self,alias)
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 1130, in alias
other = copy.copy(table)
File "/usr/local/Cellar/pypy/1.8/lib-python/2.7/copy.py", line 88, in copy
rv = reductor(2)
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 7191, in __getattr__
return self[key]
File "/Users/marca/dev/git-repos/web2py/gluon/dal.py", line 7131, in __getitem__
return dict.__getitem__(self, str(key))
KeyError: '__getnewargs__'

----------------------------------------------------------------------
Ran 118 tests in 2.765s

FAILED (errors=1)
[TOX] ERROR: InvocationError: '.tox/pypy/bin/unit2 -v gluon.tests'
________________________________ [tox summary] _________________________________
[TOX] ERROR: py25: commands failed
[TOX] py26: commands succeeded
[TOX] py27: commands succeeded
[TOX] ERROR: pypy: commands failed
```