Karl Hobley
2617174692
Don't ignore DeprecationWarnings
...
This was previously done for us in Django 1.6. But they reverted back to the default Python configuration to ignore these warnings causing a test to break
0c6a339952
2014-07-28 15:52:42 +01:00
Matt Westcott
1d0c01e5fa
Merge branch 'feature/test-db-settings' of https://github.com/takeflight/wagtail into takeflight-feature/test-db-settings
...
Conflicts:
runtests.py
2014-07-28 12:07:34 +01:00
Tim Heap
793fa3327b
Pull all test database options from env variables
...
Just pulling two and assuming others broke the base configuration I was
using, which uses a different database name and has a password.
2014-07-09 15:44:17 +10:00
Karl Hobley
735cfe3767
Use UTC timezone in tests
...
This prevents Django from converting times in tests
2014-07-03 13:44:11 +01:00
Karl Hobley
ab518b6472
Merge branch 'master' into sitemaps
2014-07-02 17:21:20 +01:00
Karl Hobley
055b2e97e5
Made tests.settings like a real settings file
2014-06-30 15:08:09 +01:00
Karl Hobley
51505ff3d5
Separated test settings into its own module
2014-06-30 11:36:56 +01:00
Karl Hobley
d0fefc5f97
Merge branch 'master' into sitemaps
...
Conflicts:
runtests.py
2014-06-23 13:45:37 +01:00
Karl Hobley
ee7aebc9da
Added tests for sitemaps
2014-06-23 13:43:34 +01:00
Karl Hobley
4081206c77
Scrapped ElasticUtils, use Elasticsearch-py instead
...
Conflicts:
wagtail/wagtailsearch/backends/elasticsearch.py
wagtail/wagtailsearch/indexed.py
2014-06-20 10:29:57 +01:00
Dave Cranwell
b638cc01e9
Merge branch 'master' into feature/styleguide
2014-06-17 09:36:21 +01:00
Karl Hobley
ee222a387b
Merge remote-tracking branch 'torchbox/master' into issue-25
...
Conflicts:
runtests.py
2014-06-16 10:40:31 +01:00
Karl Hobley
4235450f5e
Minor PEP8 fix
2014-06-16 10:31:05 +01:00
Karl Hobley
eb70c215e9
Added test for wagtailstyleguide
2014-06-11 09:48:07 +01:00
Karl Hobley
b35f6d9409
Added test to check that wagtailadmin behaves correctly when LOGIN_URL is not set
2014-06-06 12:52:00 +01:00
Karl Hobley
7e7910ba3b
Added LOGIN_REDIRECT_URL to runtests.py settings
2014-06-02 13:41:00 +01:00
Matt Westcott
3042d6ef6a
set USE_TZ=True in runtests to handle fixtures correctly on sqlite
2014-05-28 16:27:53 +01:00
Neal Todd
580e9130ad
Ref issue 177, Elasticsearch timeout on Travis: Support passing configuration arguments to Elasticsearch. Also documenting Elasticsearch setup in Wagtail.
2014-05-28 12:05:35 +01:00
Matt Westcott
64357dc5e0
Merge branch 'master' into form-builder
...
Conflicts:
wagtail/tests/fixtures/test.json
wagtail/wagtailcore/tests.py
2014-05-09 09:57:40 +01:00
Matt Westcott
f68f9a0461
add tests for front-end form submission
2014-05-07 16:39:56 +01:00
Karl Hobley
503f1cbaf8
Added comment into runtests.py to explain why we're using DatabaseCache
2014-05-02 12:33:20 +01:00
Karl Hobley
360174e230
Use database cache for testing
...
Currently, the cache is not flushed between tests.
This can cause false positives where a previous test has been messing with cache keys which a future test uses (eg, wagtail_root_paths)
This commit makes django use the database as the cache which is automatically flushed between tests
2014-05-02 11:45:31 +01:00
Matt Westcott
16ca3ce280
Add MySQL to tox tests
2014-05-01 12:21:17 +01:00
Matt Westcott
aa09c442a2
add tox test environment for sqlite, and include elasticsearch
2014-04-24 15:34:59 +01:00
Matt Westcott
46d594230d
Add hooks to insert custom CSS/JS into the editor interface
2014-04-04 15:50:39 +01:00
Matt Westcott
4f807cb4e2
Add page permission tests (and fix the ever-so-subtle bug in preventing moves into a descendant page)
2014-03-04 15:47:16 +00:00
Matt Westcott
d7e5c33c1a
Refactor wagtailsearch tests so that WAGTAILSEARCH_BACKENDS in runtests.py is the definitive list of which backends should be tested
2014-03-03 12:33:14 +00:00
Karl Hobley
334744abd9
Merge branch 'tests' into search-changes
...
Conflicts:
runtests.py
2014-02-23 23:04:35 +00:00
Karl Hobley
4655e19f1a
Added some more wagtailadmin tests
2014-02-23 23:02:30 +00:00
Karl Hobley
46304a31b3
Search: Database backend is now default for tests
2014-02-23 22:28:09 +00:00
Karl Hobley
a3d8511f0b
Merge branch 'tests' into search-changes
...
Conflicts:
runtests.py
2014-02-23 16:13:58 +00:00
Karl Hobley
451f133d3b
Added test-media folder
2014-02-23 14:57:33 +00:00
Karl Hobley
8f3b846e6c
Added ElasticSearch configuration to tests
2014-02-21 22:16:02 +00:00
Karl Hobley
553d718e5a
Revert "Added ElasticSearch backend to tests settings"
...
This reverts commit 28a77c6071
.
2014-02-20 22:08:44 +00:00
Karl Hobley
28a77c6071
Added ElasticSearch backend to tests settings
2014-02-20 21:59:54 +00:00
Karl Hobley
cca1fc0e52
Added test models
2014-02-20 21:32:51 +00:00
Karl Hobley
129f9bdbeb
Add django.contrib.admin to test settings
2014-02-18 09:22:51 +00:00
Karl Hobley
a4e566be15
Revert "Disable compression for tests"
...
This reverts commit 72a6982821
.
2014-02-18 09:21:05 +00:00
Karl Hobley
72a6982821
Disable compression for tests
2014-02-17 12:11:35 +00:00
Matt Westcott
c9202bbd8e
PEP8 fixes from #41
2014-02-17 11:03:41 +00:00
Karl Hobley
a9d4a70275
Added MIDDLEWARE_CLASSES to runtests.py settings
2014-02-14 17:17:31 +00:00
Matt Westcott
e419cc0618
ensure that test-static gets torn down even if tests fail
2014-02-13 12:53:52 +00:00
Matt Westcott
a77977a31c
add a general test runner for wagtail, accessible by running './runtests.py' or 'make test' from the wagtail repo, or 'manage.py test wagtail' from a django project such as wagtaildemo
2014-02-13 12:44:49 +00:00