'We should get an error if we do weird requests to /library/'

def test_bad_http_verb_with_lib_key(self):

    lib = LibraryFactory.create()
    for verb in ('post', 'delete', 'put'):
        response = getattr(self.client, verb)(make_url_for_lib(lib.location.library_key))
        self.assertEqual(response.status_code, 405)
