Comments (5)
Which is the python version you're using?
from pydal.
Earlier on: Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32
and confirmed recently on: Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32
from pydal.
Took the current pydal repo, and repeated the steps posted above.
D:\code\git\pydal [master]> git log
commit 39d7df7538199473458a0d92adbbcc0747e3bf01
Merge: 338b792 7e065cc
Author: Giovanni Barillari <[email protected]>
Date: Fri Apr 3 00:51:12 2015 +0200
Merge pull request #122 from niphlod/fix/README2
fix badges from #121
The results are identical - tests do not pass within Eclipse - except for the last summary lines
----------------------------------------------------------------------
Ran 104 tests in 2.156s
FAILED (errors=5, skipped=4)
When run from the command prompt, it seems to works though. The number of tests are 60
D:\code\git\pydal [master]> python -m unittest tests
Testing against sqlite engine (sqlite:memory)
........s...................................................
----------------------------------------------------------------------
Ran 60 tests in 0.797s
OK (skipped=1)
Not sure what to make of this:
- Should this work from within Eclipse at all?
- Why the discrepancy in the number of tests being run - Eclipse is 104, Cmd is 60?
from pydal.
eclipse is definitely doing something wrong.
from pydal.
If I select the /pydal/tests/__init__.py
and "Run As > Python unit-test", from within Eclipse, then the output matches that of the command line, and all tests run and pass.
You are right; it is probably an issue with the way Pydev runs these tests. Will close this issue.
from pydal.
Related Issues (20)
- Fix unable to parse csv file in web2py break CSV parsing when dynamic upload is used
- MSSQL adapter, tableX_view.insert (..) + trigger INSTEAD OF INSERT, .lastrowid (), "SELECT SCOPE_IDENTITY ()", return long (../ None / ..)
- NotNullViolation on PostgreSQL migration of populated table with a notnull field
- The user name or password contains @, unable to connect to MySQL HOT 4
- Deprecation imports google.appengine.api.rdbms in _gae and google adapter HOT 1
- Upgrade to python3 datastore adapter. Help
- problem with .contains() when passing list as argument HOT 1
- pool_size and leaking connections on PostgreSQL
- erro calling db.uuid method HOT 1
- count field in restapi HOT 1
- non-database upload field fails to build filename
- web2py_filesystem Updates/Corrections
- REGEXP_LIKE missing parameter "match_parameter" in oracle
- Incorrect sqlite placeholder for InDBMigrator
- Database is locked, attempts not working
- Error in the class FireBird
- import_from_csv_file fails if export_to_csv_file with ref id column with gaps
- PyDAL for Azure MySQL
- PyDAL for Redis
- pyDAL 20240427 breaks web2py (master) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydal.