Skip to content

Commit

Permalink
Add help endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Mar 10, 2017
1 parent 6a8d26f commit eb7d209
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pybossa/themes/default
8 changes: 7 additions & 1 deletion test/test_web.py
@@ -1,4 +1,4 @@
# -*- coding: utf8 -*-
#-*- coding: utf8 -*-
# This file is part of PYBOSSA.
#
# Copyright (C) 2017 Scifabric LTD.
Expand Down Expand Up @@ -2799,6 +2799,12 @@ def test_43_terms_of_use_and_data(self):
assert "http://okfn.org/terms-of-use/" in res.data, res.data
assert "http://opendatacommons.org/licenses/by/" in res.data, res.data

@with_context
def test_help_endpoint(self):
"""Test WEB help endpoint is working"""
res = self.app.get('help/', follow_redirects=True)


@with_context
@patch('pybossa.view.account.signer.loads')
def test_44_password_reset_json_key_errors(self, Mock):
Expand Down

0 comments on commit eb7d209

Please sign in to comment.