]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
webapi 'move'-button cleanups
authorBrian Warner <warner@lothar.com>
Wed, 9 May 2012 21:18:27 +0000 (14:18 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 9 May 2012 21:18:27 +0000 (14:18 -0700)
commita92385b54b8430b64e0dca422f461b02e2825607
tree8ef09b60692e47bd7ba2e23ba3ce33ec1bf8d666
parente89bce21a5927680b5391ddaaee344a1245924ab
webapi 'move'-button cleanups

test_web.py: use shouldFail2(), safer than old shouldFail()
directory.py: forbid slashes in from_name=, return BAD_REQUEST instead of
              GONE when trying to move into a non-directory
src/allmydata/test/test_web.py
src/allmydata/web/directory.py