redash/tests
Omer Lachish c66f63d7a5 Prevent Query's updated_at from changing when it is linked to new query results (#3082)
* avoid Query's updated_at from changing when it is linked to new query results

* move comment to previous line

* move QueryResult tests to their own module

* add test which verifies that updated_at is not changed on query data
updates

* tests were false positives - they compared HH:MM:SS, but that never
changed because the original time was 1 week behind.

* remove redundant constructor

* remove hack and use a proper event to prevent updated_at from changing

* use self.assertEqual instead of assert
2018-11-20 12:22:15 +02:00
..
handlers Consistently use simplejson to loading and dumping JSON. (#2817) 2018-10-09 15:38:06 +02:00
models Prevent Query's updated_at from changing when it is linked to new query results (#3082) 2018-11-20 12:22:15 +02:00
query_runner Add some tests for Query Results (#3031) 2018-10-31 11:05:17 +02:00
tasks add test for using saved parameters in scheduled queries (#2802) 2018-09-16 10:45:25 +03:00
__init__.py Consistently use simplejson to loading and dumping JSON. (#2817) 2018-10-09 15:38:06 +02:00
factories.py Preventing open redirection (#2906) 2018-10-17 21:55:58 +03:00
test_authentication.py Preventing open redirection (#2906) 2018-10-17 21:55:58 +03:00
test_cli.py CLI sort (#3041) 2018-11-06 16:45:39 +01:00
test_configuration.py Fix #908: updating configuration without secrets was failing 2016-03-10 11:56:49 +02:00
test_handlers.py remove unnecessary test. 2018-02-26 20:57:21 +02:00
test_models.py Prevent Query's updated_at from changing when it is linked to new query results (#3082) 2018-11-20 12:22:15 +02:00
test_permissions.py Fix test_permissions tests 2016-12-07 02:13:20 -06:00
test_utils.py Fix: clear null values from options dictionary 2017-06-13 09:42:20 +03:00