Updated API tests.
authorŁukasz Rekucki <lrekucki@gmail.com>
Fri, 25 Sep 2009 15:18:54 +0000 (17:18 +0200)
committerŁukasz Rekucki <lrekucki@gmail.com>
Fri, 25 Sep 2009 15:18:54 +0000 (17:18 +0200)
commit352b8591bd1c7163835a6fa1db34d3e2861c1071
tree7af4f32bb934bca7ea0f3a31b05417fa7c86f6a3
parent71b07fe1928b04a218e062f01cca720863b9eeb9
Updated API tests.
Handlers refactor.
Addded Toolbar API.
134 files changed:
apps/api/handlers.py [deleted file]
apps/api/handlers/__init__.py [new file with mode: 0644]
apps/api/handlers/library_handlers.py [new file with mode: 0644]
apps/api/handlers/toolbar_handlers.py [new file with mode: 0644]
apps/api/resources.py [new file with mode: 0644]
apps/api/tests/__init__.py
apps/api/tests/data/clean/$meta [new file with mode: 0644]
apps/api/tests/data/clean/.hg/00changelog.i [new file with mode: 0644]
apps/api/tests/data/clean/.hg/dirstate [new file with mode: 0644]
apps/api/tests/data/clean/.hg/requires [new file with mode: 0644]
apps/api/tests/data/clean/.hg/store/00changelog.i [new file with mode: 0644]
apps/api/tests/data/clean/.hg/store/00manifest.i [new file with mode: 0644]
apps/api/tests/data/clean/.hg/store/data/$meta.i [new file with mode: 0644]
apps/api/tests/data/clean/.hg/store/data/.hgignore.i [new file with mode: 0644]
apps/api/tests/data/clean/.hg/store/data/.hgtags.i [new file with mode: 0644]
apps/api/tests/data/clean/.hg/store/fncache [new file with mode: 0644]
apps/api/tests/data/clean/.hg/store/undo [new file with mode: 0644]
apps/api/tests/data/clean/.hg/undo.branch [new file with mode: 0644]
apps/api/tests/data/clean/.hg/undo.dirstate [new file with mode: 0644]
apps/api/tests/data/clean/.hgignore [new file with mode: 0644]
apps/api/tests/data/clean/.hgtags [new file with mode: 0644]
apps/api/tests/data/empty/.hg/00changelog.i [deleted file]
apps/api/tests/data/empty/.hg/branchheads.cache [deleted file]
apps/api/tests/data/empty/.hg/dirstate [deleted file]
apps/api/tests/data/empty/.hg/requires [deleted file]
apps/api/tests/data/empty/.hg/store/00changelog.i [deleted file]
apps/api/tests/data/empty/.hg/store/00manifest.i [deleted file]
apps/api/tests/data/empty/.hg/store/data/.library.i [deleted file]
apps/api/tests/data/empty/.hg/store/fncache [deleted file]
apps/api/tests/data/empty/.hg/store/undo [deleted file]
apps/api/tests/data/empty/.hg/undo.branch [deleted file]
apps/api/tests/data/empty/.hg/undo.dirstate [deleted file]
apps/api/tests/data/empty/.library [deleted file]
apps/api/tests/data/simple/$meta [new file with mode: 0644]
apps/api/tests/data/simple/.hg/00changelog.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/branch [new file with mode: 0644]
apps/api/tests/data/simple/.hg/branchheads.cache [new file with mode: 0644]
apps/api/tests/data/simple/.hg/dirstate [new file with mode: 0644]
apps/api/tests/data/simple/.hg/requires [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/00changelog.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/00manifest.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/data/$meta.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/data/.hgignore.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/data/.hgtags.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/data/sample.parts.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/data/sample.xml.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/data/sample__pl.xml.i [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/fncache [new file with mode: 0644]
apps/api/tests/data/simple/.hg/store/undo [new file with mode: 0644]
apps/api/tests/data/simple/.hg/strip-backup/26716f931d95-backup [new file with mode: 0644]
apps/api/tests/data/simple/.hg/undo.branch [new file with mode: 0644]
apps/api/tests/data/simple/.hg/undo.dirstate [new file with mode: 0644]
apps/api/tests/data/simple/.hgignore [new file with mode: 0644]
apps/api/tests/data/simple/.hgtags [new file with mode: 0644]
apps/api/tests/data/test2/.hg/00changelog.i [deleted file]
apps/api/tests/data/test2/.hg/branch [deleted file]
apps/api/tests/data/test2/.hg/branchheads.cache [deleted file]
apps/api/tests/data/test2/.hg/dirstate [deleted file]
apps/api/tests/data/test2/.hg/requires [deleted file]
apps/api/tests/data/test2/.hg/store/00changelog.i [deleted file]
apps/api/tests/data/test2/.hg/store/00manifest.i [deleted file]
apps/api/tests/data/test2/.hg/store/data/.library.i [deleted file]
apps/api/tests/data/test2/.hg/store/data/pub__testfile.xml.i [deleted file]
apps/api/tests/data/test2/.hg/store/fncache [deleted file]
apps/api/tests/data/test2/.hg/store/undo [deleted file]
apps/api/tests/data/test2/.hg/undo.branch [deleted file]
apps/api/tests/data/test2/.hg/undo.dirstate [deleted file]
apps/api/tests/data/test2/.library [deleted file]
apps/api/tests/data/test2/pub_testfile.xml [deleted file]
apps/api/tests/data/testone/.hg/00changelog.i [deleted file]
apps/api/tests/data/testone/.hg/branchheads.cache [deleted file]
apps/api/tests/data/testone/.hg/dirstate [deleted file]
apps/api/tests/data/testone/.hg/requires [deleted file]
apps/api/tests/data/testone/.hg/store/00changelog.i [deleted file]
apps/api/tests/data/testone/.hg/store/00manifest.i [deleted file]
apps/api/tests/data/testone/.hg/store/data/.library.i [deleted file]
apps/api/tests/data/testone/.hg/store/data/pub__testfile.xml.i [deleted file]
apps/api/tests/data/testone/.hg/store/fncache [deleted file]
apps/api/tests/data/testone/.hg/store/undo [deleted file]
apps/api/tests/data/testone/.hg/undo.branch [deleted file]
apps/api/tests/data/testone/.hg/undo.dirstate [deleted file]
apps/api/tests/data/testone/.library [deleted file]
apps/api/tests/data/testone/pub_testfile.xml [deleted file]
apps/api/urls.py
apps/toolbar/models.py
apps/wysiwyg/__init__.py [new file with mode: 0644]
apps/wysiwyg/models.py [new file with mode: 0644]
apps/wysiwyg/tests.py [new file with mode: 0644]
apps/wysiwyg/urls.py [new file with mode: 0644]
apps/wysiwyg/views.py [new file with mode: 0644]
lib/wlrepo/__init__.py
lib/wlrepo/backend_mercurial.py
lib/wlrepo/mercurial_backend/__init__.py [new file with mode: 0644]
lib/wlrepo/mercurial_backend/document.py [new file with mode: 0644]
lib/wlrepo/mercurial_backend/library.py [new file with mode: 0644]
lib/wlrepo/tests/data/clean/$meta [new file with mode: 0644]
lib/wlrepo/tests/data/clean/.hg/dirstate
lib/wlrepo/tests/data/clean/.hg/store/00changelog.i
lib/wlrepo/tests/data/clean/.hg/store/00manifest.i
lib/wlrepo/tests/data/clean/.hg/store/data/$meta.i [new file with mode: 0644]
lib/wlrepo/tests/data/clean/.hg/store/data/ignored__file.i [deleted file]
lib/wlrepo/tests/data/clean/.hg/store/data/pub__valid__file.xml.i [deleted file]
lib/wlrepo/tests/data/clean/.hg/store/fncache
lib/wlrepo/tests/data/clean/.hg/store/undo
lib/wlrepo/tests/data/clean/.hg/undo.dirstate
lib/wlrepo/tests/data/clean/ignored_file [deleted file]
lib/wlrepo/tests/data/clean/pub_valid_file.xml [deleted file]
lib/wlrepo/tests/data/simple/$meta [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/branch [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/branchheads.cache [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/dirstate
lib/wlrepo/tests/data/simple/.hg/store/00changelog.i
lib/wlrepo/tests/data/simple/.hg/store/00manifest.i
lib/wlrepo/tests/data/simple/.hg/store/data/$meta.i [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/store/data/.hgtags.i [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/store/data/ignored__file.i [deleted file]
lib/wlrepo/tests/data/simple/.hg/store/data/pub__polish__file.xml.i [deleted file]
lib/wlrepo/tests/data/simple/.hg/store/data/pub__valid__file.xml.i [deleted file]
lib/wlrepo/tests/data/simple/.hg/store/data/sample.parts.i [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/store/data/sample.xml.i [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/store/data/sample__pl.xml.i [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/store/fncache
lib/wlrepo/tests/data/simple/.hg/store/undo
lib/wlrepo/tests/data/simple/.hg/strip-backup/26716f931d95-backup [new file with mode: 0644]
lib/wlrepo/tests/data/simple/.hg/undo.dirstate
lib/wlrepo/tests/data/simple/.hgtags [new file with mode: 0644]
lib/wlrepo/tests/data/simple/ignored_file [deleted file]
lib/wlrepo/tests/data/simple/pub_polish_file.xml [deleted file]
lib/wlrepo/tests/data/simple/pub_valid_file.xml [deleted file]
lib/wlrepo/tests/test_mercurial.py
project/settings.py
project/templates/manager/pull_request.html [new file with mode: 0644]
project/templates/toolbar_api/scriptlets.js [new file with mode: 0644]
project/templates/wysiwyg.html [new file with mode: 0644]