Commit Graph

373 Commits

Author SHA1 Message Date
niphlod 34a417cfa0 fix for StorageList and tests added
gluon/storage.py
StorageList had a recursion error (please check the implementation before committing)

gluon/tests*
added the fix_path module to avoid those ugly lines at the beginning of each test file
added tests for gluon.contenttype and test_fileutils
added tests for missing Storage methods
2014-09-21 08:26:38 +02:00
mdipierro bb199ad533 Merge pull request #503 from niphlod/tests/validators
improved coverage, fix bug with IS_LIST_OF and items not being strings
2014-09-20 12:55:56 -05:00
niphlod 8bbd22eba8 improved coverage, fix bug with IS_LIST_OF and items not being strings 2014-09-19 00:15:25 +02:00
niphlod 50f16744a7 fix cache.increment, added tests 2014-09-16 23:50:10 +02:00
Niphlod ecc6e5dc5e added more tests for json Field 2014-09-14 16:01:22 +02:00
niphlod bd87879cde added test for storage pickling 2014-09-10 18:24:52 +02:00
gi0baro 7fde332392 Fixed gluon.tests.dal_nosql with new imports 2014-09-03 15:26:24 +02:00
gi0baro 5e5e649c28 Added modular DAL, updated gluon imports to new structure 2014-09-03 12:48:03 +02:00
niphlod b6f9bdef95 fix like behaviour 2014-06-10 22:37:55 +02:00
niphlod 75e59b8bf5 fix rewrite tests under Windows 2014-06-03 23:31:54 +02:00
mdipierro 593592fb5f Merge pull request #453 from niphlod/fix/coverage_ini
we don't want gluon/tests to be covered
2014-06-02 21:36:43 -05:00
mdipierro 439c9978d3 Merge pull request #452 from niphlod/fix/tests_mp
fix multiprocessing tests under windows
2014-06-02 21:36:08 -05:00
niphlod 2832ac463e we don't want tests to be covered 2014-06-02 22:27:00 +02:00
niphlod 05b4503531 fix multiprocessing tests under windows 2014-06-02 16:31:58 +02:00
niphlod f1606ee091 added tests and refactored incorrect docstrings 2014-05-29 23:34:32 +02:00
mdipierro 27bb2ee6b8 removed some files but not all (for now) 2014-05-09 15:24:18 -05:00
Massimo 7e470d7786 added missing files 2014-04-15 10:22:57 -05:00
mdipierro 39ee2a5991 skip languages write test on GAE 2014-04-07 12:16:19 -05:00
mdipierro ce2d958f9a Merge pull request #366 from spametki/testdalmongodb
Add mongodb and imap tests for dal
2014-01-28 13:43:07 -08:00
Alan Etkin 35d56ec3f0 Add mongodb and imap tests for dal
Added mongodb uri string for tests
2014-01-28 17:46:05 -03:00
Michele Comitini 310528ea10 added entity_quoting (False by default) parameter to DAL to optionally enable entity name quoting by adapters. 2014-01-28 17:45:15 +01:00
Massimo 060eddf812 fixed security issue with redirect after expired login, thanks André Kablu 2014-01-24 16:22:42 -06:00
mdipierro 13cc8df4be Merge pull request #362 from niphlod/enhancement/disable_with
remove disable_with if not needed
2014-01-23 20:37:22 -08:00
niphlod 341a5e0c40 remove disable_with if not needed 2014-01-23 21:59:43 +01:00
Alan Etkin 98610df1d4 NoSQL dal tests 2014-01-22 08:50:03 -03:00
niphlod 0c6eaf536a someone forgot tests.... grrrr! 2014-01-20 21:28:44 +01:00
mdipierro 48870b1dd1 Merge pull request #355 from reingart/master
debugger and soap contrib update and fixes
2014-01-19 21:41:25 -08:00
Mariano Reingart 0e0ae1b5be added soap client/server test (including for status 500 to check issue #153) 2014-01-19 18:29:42 -03:00
mdipierro 34bbb376be allow URL(...,language=...) with parametric router, thanks Jonathan 2014-01-14 22:17:28 -06:00
niphlod 7d59bcab72 first steps to a cleaner DAL and rname integration 2014-01-13 23:35:42 +01:00
niphlod 09c0069b43 fix mssql quoting issue, disabled some tests
Tests now pass on mssql. I think we need to agree on what's going on
with DAL, or we risk shipping a module with lots of changes that are
breaking backward compatibility. I'll start a thread on
web2py-developers
2013-12-15 15:06:42 +01:00
Michele Comitini 14bcad629e quoting of tablenames and field names
fix for wrong sequence name quoting

fix for wrong sequence name quoting 2

reverted test to quoted rname

rname passed asis. freedom in table names and field names. Case sensitivity in field and table names

removed test of allowed char sequence in table and field names, there is no limit anymore

fixed some troubles with postgresql drop(). Better Row.__getitem__(): should not be much slower.  Added a ignore_field_case parameter to allow Field('F')!=Field('f') on databases supporting case sesitivity.

different mysql drivers handled in quoting test.

improved handling of foreing keys

fix with quoted names in SQLTABLE.  fix for ORDER BY

handle references on non "id" fields

check reference expression against table list first
2013-12-03 12:29:30 +01:00
mdipierro fc72cdf3d0 change in way args are parsed and less test_routes.py 2013-11-01 20:11:46 -05:00
niphlod 0f2b2daeab fixed issue with ordereddict in python < 2.7, added rname support also for fields 2013-10-27 14:36:38 +01:00
niphlod 9f846dbe3c fix for references, DAL tests pass also on MSSQL now 2013-10-21 12:09:47 -07:00
mdipierro 25148d06fe reverted to rname 2013-10-20 16:48:22 -05:00
mdipierro 4870b197de revering rname 2013-10-20 16:42:52 -05:00
niphlod c9b0c4547a add support for rname (meaning "real name") for table names 2013-10-18 00:09:32 +02:00
niphlod 78a0fe0769 removed unmaintained test.sh, ported validators doctests to unittests, fixed an issue with IS_MATCH() that never worked 2013-10-13 17:48:07 +02:00
mdipierro 6c1cc6fc96 tabs -> spaces 2013-09-13 15:39:39 -05:00
mdipierro ed9def985e R-2.6.1 2013-09-12 17:08:52 -05:00
mdipierro 31a5e28f9a some cleanup 2013-09-06 16:29:20 -05:00
spametki b5039a5a6e Switched table definition order at test_dal.py 2013-09-01 19:16:45 -03:00
spametki a634ff7954 Applied patch for issue 1639 2013-09-01 18:13:51 -03:00
niphlod bf6cf86987 send session cookie always. Please test it carefully with session data stored in cookies. 2013-08-29 00:43:34 +02:00
mdipierro b9d681295f new attempt at fixing session but commented test which fails 2013-08-27 22:26:04 -05:00
niphlod f5f6f365f9 added boilerplate to be able to run tests from anywhere. Added test for validate_and_insert too. 2013-08-25 18:35:29 +02:00
mdipierro f0bcef14b0 reverted issue 1639:DAL, define_table and Field unpacked serialized attributes 2013-08-21 17:23:11 -05:00
mdipierro f9940825a1 fixed issue 1639:DAL, define_table and Field unpacked serialized attributes, thanks Alan 2013-08-21 02:37:31 -05:00
Michele Comitini a208e8cc9f changed way to detect missing key since None is already a possible value 2013-07-21 16:42:14 +02:00