Commit Graph

141 Commits

Author SHA1 Message Date
markotibold
032cb79592 fix tiny spelling errors 2011-04-27 22:28:08 +02:00
Tom Christie
fb805bbb7c Pulling Marko's test fixes 2011-04-27 18:28:20 +01:00
Tom Christie
683a862ddf Docs impovement 2011-04-27 18:25:11 +01:00
markotibold
116a9ee824 Stole some code from djangorestframework/runtests/runcoverage.py so that coverage is also implemented for the examples. Because Jenkins looks for a coverage.xml file for all defeined projects in tox.ini we need it to pass the tests. 2011-04-27 15:07:25 +02:00
markotibold
391560e69c The test was bad. It expected 11 snippets while the view made sure (as designed) that there would not be more than 10 snippets stored on disk. 2011-04-27 14:29:59 +02:00
markotibold
31bfdbeb1a reverse on a a sorted list which was laerady reversed is rather pointless :) 2011-04-27 14:28:48 +02:00
markotibold
a880bf460a Danielfm packaged the 1.2 release so we can now install it from his repo. 2011-04-27 13:47:46 +02:00
markotibold
9473d17dd6 Omitting all the superfluous tests. Later on we might want a nicer way to specify which apps to test, because they are now hardcoded in runtests.py. (Listdir doesn't do the trick, tried that already :-) ) 2011-04-27 13:40:46 +02:00
tom christie tom@tomchristie.com
b508ca38d4 CSRF validation will only be applied to POST requests, so let's only load .RAW_CONTENT in those cases 2011-04-26 21:08:36 +01:00
tom christie tom@tomchristie.com
da7d49a384 tox can now use django 1.3 rather than 1.3-rc1. Huzzah. 2011-04-26 20:40:39 +01:00
tom christie tom@tomchristie.com
bdf4fef8b6 simplejson no longer a requirement for python 2.5 (uses django's built in simplejson lib) 2011-04-26 20:37:15 +01:00
tom christie tom@tomchristie.com
3d15adaeb1 Fixes #35 - Import json from django's built-in package (Does cleverness in determing best lib to use) 2011-04-26 20:20:31 +01:00
tom christie tom@tomchristie.com
d0fe36aaa4 Thanks Carmen \! 2011-04-08 07:29:43 +01:00
Carmen Wick
bbab859ae1 Better error handling for Basic authentication. Catch exceptions that could be thrown due to malformed input 2011-04-04 18:40:18 -07:00
Carmen Wick
39c0c07786 Use cleaned_content instead of raw_content when generating a form instance for the DocumentingTemplateEmitter. This allows the form to be prepopulated with the resource's existing values. 2011-04-04 16:16:41 -07:00
Tom Christie
23d924eb9b Turn streaming request parsing back on for 1.3. Fix CSRF which was breaking it. It's really not at all obvious if we need to byte limit the stream that we hand over or not. 2011-04-04 09:23:14 +01:00
Tom Christie
5e2e2f1422 Turn streaming request parsing back on for 1.3. Fix CSRF which was breaking it. It's really not at all obvious if we need to byte limit the stream that we hand over or not. 2011-04-04 09:19:49 +01:00
tom christie tom@tomchristie.com
3cdb4e2648 Temporarily roll back the streaming stuff 2011-04-03 11:54:47 +01:00
tom christie tom@tomchristie.com
4687db680c Refactor to use self.CONTENT to access request body. Get file upload working 2011-04-02 16:32:37 +01:00
tom christie tom@tomchristie.com
8845b281fe Only use xmlrunner if running under hudson 2011-03-30 21:39:38 +01:00
tom christie tom@tomchristie.com
7566de1cae Only use xmlrunner if running under hudson 2011-03-30 20:33:36 +01:00
Tom Christie
3acedec771 Fix some examples 2011-03-22 22:48:59 +00:00
markotibold
b4a076c822 fixing compat with py25 2011-03-20 11:56:43 +01:00
markotibold
d866f2177e fix compat with python 2.5 2011-03-20 10:37:38 +01:00
markotibold
7f7be826e2 fixed bad naming of testenv 2011-03-20 10:30:53 +01:00
markotibold
e3b08c7f74 All should work fine now on jenkins. For some reason Tox with jenkins and env names of the form platform-djangoversion-examples results in an OSError Permission denied. No clue why. 2011-03-20 01:52:18 +01:00
markotibold
34c4585c6e testing jenkins 2011-03-20 01:40:26 +01:00
markotibold
d168f42b13 testing jenkins 2011-03-20 01:34:24 +01:00
markotibold
bc9a0a9a0f etsting jenkins 2011-03-20 00:43:15 +01:00
markotibold
1054944ba2 Tetss pass locally as well as under the jenkins user on the ci, but when jenins executes the tests we get OSError :-/ 2011-03-20 00:37:17 +01:00
markotibold
69036177bf oops 2011-03-19 03:09:31 +01:00
markotibold
9215197327 Adding examples to tox. Appears quite useful cause some example tests are broken. 2011-03-19 03:04:22 +01:00
markotibold
fabf7c255d Coverage for all platforms working. Had some trouble with dependencies of coverage of python-dev for the various platforms. 2011-03-18 14:15:12 +01:00
tom christie tom@tomchristie.com
cf1f8348a0 Add coverage to requirements 2011-03-17 08:51:53 +00:00
tom christie tom@tomchristie.com
7856656df0 Add VERSION string 2011-03-17 08:51:26 +00:00
tom christie tom@tomchristie.com
c59e63252f Add xmlrunner directory to hgignore 2011-03-17 08:37:16 +00:00
tom christie tom@tomchristie.com
e7fd0cf244 Add coverage to requirements 2011-03-17 08:36:22 +00:00
markotibold
5f2c53bf06 Test result graphing now possible for all 6 environments. Had to fix unittest-xml-reporting to work for both 1.2 and 1.3 to achieve this. The fix is reported to the owner of the project. 2011-03-17 01:02:34 +01:00
markotibold
e3011c1fb8 Implementing graphing. 2011-03-15 22:57:45 +01:00
markotibold
9ba66a19f8 Merge with a0fec27963ebb52d39cdad42d5a7fd428f989784 2011-03-15 22:40:30 +01:00
Tom Christie
80e98de933 sebpiq's parser improvements 2011-03-13 17:15:50 +00:00
Tom Christie
0f0fd13d13 test refactoring 2011-03-13 17:13:18 +00:00
Tom Christie
bed7d8c3a9 tox, runcoverage, and setup.py test 2011-03-13 17:08:46 +00:00
sebpiq
ee74aec27c debug + tests for MultipartParser 2011-03-11 15:05:35 +02:00
sebpiq
d6c13a9e5c documentation + tests + debugging for formparsers 2011-03-11 14:34:39 +02:00
markotibold
ecb82b0318 Refactoring and added another test for blog-posts. Finally got eclipse setup properly with virtualenvs (code analysis). Also I think I get Bitbuckets workflow now. 2011-03-11 12:47:16 +01:00
sebpiq
94199a4847 modified tests.__init__ so it also test module docstrings 2011-03-11 12:00:51 +02:00
sebpiq
b117f7bd45 added a test 2011-03-10 16:59:21 +02:00
sebpiq
2d8e4e056b documentation 2011-03-10 16:49:11 +02:00
sebpiq
26e10d0e3f removed useless stuff, request.POST and FILES not used + some doc 2011-03-10 16:03:46 +02:00