Commit Graph

174 Commits

Author SHA1 Message Date
kelson cbbd1246db re import required for assertRegexpMatches port 2015-08-19 11:33:47 -04:00
kelson 0a79bf3afd assertRegexpMatches requires port for python2.5 and python2.6 2015-08-19 11:30:07 -04:00
kelson db5e58e49f added HttpOnly cookies (default)
added unit tests for cookie layout, secure cookies, and HttpOnly cookies
Session.httponly_cookies=False to revert HttpOnly cookies
2015-08-19 11:25:00 -04:00
niphlod 2ce53e9957 move to codecov and enable appveyor too 2015-06-14 21:17:52 +02:00
mdipierro 040e52278e Merge pull request #956 from cassiobotaro/master
More changes in List (request.args)
2015-05-20 08:27:16 -05:00
niphlod 5c167907eb fixes #628
response.include_files is now cleaner and easier to maintain

You can specify a tuple of (type, url) to include external assets
without extension (such as the usecase described in #628)

Added tests for include_files, that was never included in CI tests
2015-05-08 21:51:56 +02:00
Cássio Botaro cdca2793e0 Maintain py2.6k compability 2015-05-04 12:55:44 -03:00
Cássio Botaro a0ee649884 Update tests
- new tests to verify old behaviour 
- test otherwise without cast and defaut
- verify if behave like a list 
- more test with call function
2015-05-04 12:49:14 -03:00
mdipierro 94461724f6 Merge pull request #954 from cassiobotaro/master
Mantain backward compatibility
2015-05-03 16:42:12 -05:00
Cássio Botaro c36c391786 More test to prove backward compatibility 2015-05-03 14:03:26 -03:00
Cássio Botaro ccc4b96709 Added one more test
Added one more test to avoid mistake with backward compatibility
2015-05-03 13:36:24 -03:00
mdipierro df03317054 Merge pull request #951 from niphlod/tests/cache_ram_and_disk
more tests, general cleanup
2015-05-03 10:31:08 -05:00
niphlod 302f56ecc1 more tests, general cleanup 2015-05-03 15:33:19 +02:00
cassiobotaro 9357d810d8 Fix List behaviour and added new feature 2015-05-02 20:24:04 -03:00
gi0baro 537045082c Updated dal test due to new serializers 2015-04-18 15:08:39 +02:00
mdipierro 29b58ff70c added DAL serilization test 2015-03-20 01:35:55 -05:00
BuhtigithuB 0094a323d7 test_simple_hash() 2015-03-15 21:07:21 -04:00
BuhtigithuB 901236765f forget to importe compare 2015-03-15 20:21:52 -04:00
BuhtigithuB 05daa164ac unittest test compare() 2015-03-15 20:07:24 -04:00
niphlod e62bead5e2 fixes issue #773
Removed redundant tests in test_validators.py since there's test_isurl.py
Added allowed_tlds from http://data.iana.org/TLD/tlds-alpha-by-domain.txt
Added script to easily update the official_top_level_domains for the future
2015-02-24 23:34:27 +01:00
niphlod 17f4e46423 fixes issue #742 2015-02-23 21:34:23 +01:00
Cem Eren 0760752719 Added test for sanitizer for the issue of closing no-close tags 2015-02-19 11:29:49 +02:00
gi0baro 5043731577 Updated tools tests for pydal 2015-01-17 13:35:52 +01:00
gi0baro 4b337c3e2c Merge branch 'master' into pydal-pip
Conflicts:
	gluon/__init__.py
	gluon/dal/_load.py
	gluon/dal/adapters/base.py
	gluon/dal/adapters/google.py
	gluon/dal/adapters/postgres.py
	gluon/dal/adapters/teradata.py
	gluon/dal/base.py
	gluon/dal/objects.py
	gluon/tests/__init__.py
	gluon/tests/test_dal_nosql.py
2015-01-17 13:32:06 +01:00
mdipierro 5bc5d0496e R-2.9.12 2015-01-17 00:07:10 -06:00
ilvalle 1c281cc163 Initial tests for auth 2015-01-12 08:18:00 +01:00
gi0baro 8000bda0c9 Removed _default_validators impossible comparison check from DAL tests 2014-12-24 15:03:55 +01:00
gi0baro c49e32bfd6 Updated DAL tests due to latest pyDAL validators change 2014-12-24 15:00:06 +01:00
mdipierro 75a32a1cde Merge pull request #571 from niphlod/contrib/appconfig
new module appconfig.py
2014-12-22 22:32:35 -06:00
niphlod ce025a6b8e new module appconfig.py 2014-12-21 20:30:18 +01:00
ilvalle d93810697f fix cache clear with regex and tests 2014-12-16 20:32:51 +01:00
gi0baro 846d8f4e4b Get tests working back on py26, disabled web2py_uuid comparison check 2014-12-15 22:51:02 +01:00
gi0baro ad1fe87386 Updated tests configuration, avoid circular imports with new dal 2014-12-15 22:37:34 +01:00
gi0baro 5a605f59b9 Started adding new tests for dal implementation 2014-12-15 21:16:35 +01:00
mdipierro 199e719838 Merge pull request #556 from ilvalle/test_pack
test for w2p_pack/w2p_unpack
2014-12-12 05:11:15 -06:00
ilvalle fd6c36e5f0 fix and initial tests for bigint 2014-12-11 11:27:16 +01:00
ilvalle 3e1037a73a test for w2p_pack/w2p_unpack 2014-12-11 10:23:15 +01:00
mdipierro 4839df37e8 more tests, thanks Paolo 2014-12-09 20:59:26 -06:00
ilvalle e9a89eff82 tests for lazy tables and substring expr 2014-12-06 00:45:56 +01:00
ilvalle 5474c68994 More gis tests 2014-12-04 12:18:17 +01:00
ilvalle 058930d42b test for compileapp 2014-12-03 20:42:54 +01:00
ilvalle 2a8c04c69f better SQLCustomType tests 2014-12-03 19:32:25 +01:00
ilvalle f64098af14 Initial tests for SQLCustomType 2014-12-03 18:20:07 +01:00
ilvalle 64ae27862a few more tests: gis functions, starts/endswith 2014-10-17 11:16:07 +02:00
mdipierro 99ddeb65fe Merge pull request #523 from niphlod/tests/languages_on_gae
fix for GAE tests often failing for no apparent reason
2014-10-16 16:11:39 -05:00
niphlod b616ee6a32 fix for GAE tests often failing for no apparent reason 2014-10-16 20:56:24 +02:00
ilvalle 4e110c691f added initial gis tests 2014-10-11 20:09:09 +02:00
mdipierro 7c8d91d4c5 Merge pull request #486 from gi0baro/DAL-modular
Added modular DAL, updated gluon imports to new structure
2014-09-30 00:24:26 -05:00
gi0baro 502327e531 Fixed merge conflict 2014-09-25 12:51:39 +02:00
gi0baro 5c07c511fa Merge branch 'master' into DAL-modular
* master: (58 commits)
  changed version number
  better types by default, given that we're on 2005 at least
  fix for StorageList and tests added
  improved coverage, fix bug with IS_LIST_OF and items not being strings
  fix cache.increment, added tests
  R-2.9.11
  reverted simplejson
  R-2.9.10
  upgraded memcache and markdown2
  upgraded pypyodbc.py
  upgraded simplejson
  no more split in contains, thanks Niphlod
  fixed wording and bug on contains(), made smart_query use ilike instead of like
  ilike, thanks Niphlod
  CROSS JOIN, thanks jotbe
  added custom represent to GoogleDatastoreAdapter, thanks Alan
  postgresql: identifies what adapter auto-loads json values
  added more tests for json Field
  fixed typo in driver_auto_json
  Improve the graphing to show the name of the application.
  ...

Conflicts:
	gluon/dal.py
	gluon/globals.py
	gluon/tests/test_dal.py
2014-09-25 12:49:16 +02:00