Skip to content

Commit

Permalink
fix title assertion in test_bookmark_range_api
Browse files Browse the repository at this point in the history
  • Loading branch information
2ynn committed Feb 26, 2023
1 parent 1b4ef86 commit 3a80c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def test_bookmark_range_api(client):
assert rd.get_json() == {
'bookmarks': {
'1': {'description': '', 'tags': [], 'title': 'Google', 'url': 'http://google.com'},
'2': {'description': '', 'tags': [], 'title': 'Example Domain', 'url': 'http://example.com'}}}
'2': {'description': '', 'tags': [], 'title': None, 'url': 'http://example.com'}}}
put_data = json.dumps({1: {'tags': 'tag1'}, 2: {'tags': 'tag2'}})
headers = {'content-type': 'application/json'}
rd = client.put('/api/bookmarks/1/2', data=put_data, headers=headers)
Expand Down

0 comments on commit 3a80c36

Please sign in to comment.