Skip to content

Commit

Permalink
fix typo in test
Browse files Browse the repository at this point in the history
remove print
  • Loading branch information
n00rsy committed Apr 10, 2023
1 parent f21fae2 commit 30dd46c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pybossa/view/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,6 @@ def _add_bookmark(user_name, short_name, bookmark_name, bookmark_url):
def _delete_bookmark(user_name, short_name, bookmark_name):
user = user_repo.get_by_name(name=user_name)
taskbrowse_bookmarks = user.info.get('taskbrowse_bookmarks', {})
print(taskbrowse_bookmarks)
proj_bookmarks = taskbrowse_bookmarks.get(short_name, {})

if bookmark_name not in proj_bookmarks:
Expand Down
4 changes: 2 additions & 2 deletions test/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -10721,8 +10721,8 @@ def test_post_taskbrowse_bookmarks(self):
assert res.status_code == 200, res.status_code
data = json.loads(res.data)
assert data[name1]['url'] == url1
assert 'created' in data
assert 'updated' in data
assert 'created' in data[name1]
assert 'updated' in data[name1]

# test if new url is appended correctly
res = self.app.post(url, json={"name":name2, "url":url2})
Expand Down

0 comments on commit 30dd46c

Please sign in to comment.