MCPcopy
hub / github.com/jarun/buku / test_create_duplicate

Function test_create_duplicate

tests/test_views.py:220–226  ·  view source on GitHub ↗
(bukudb, client)

Source from the content-addressed store, hash-verified

218@pytest.mark.gui
219@pytest.mark.slow
220def test_create_duplicate(bukudb, client):
221 query = {'link': 'http://example.com', 'title': '', 'description': '', 'tags': ''}
222 _add_rec(bukudb, query['link'])
223
224 response = client.post('/bookmark/new/', data=query, follow_redirects=True)
225 dom = assert_response(response, '/bookmark/new/')
226 assert_failure_alert(dom, edit=False)
227
228
229@pytest.mark.gui

Callers

nothing calls this directly

Calls 4

_add_recFunction · 0.90
assert_failure_alertFunction · 0.85
postMethod · 0.80
assert_responseFunction · 0.70

Tested by

no test coverage detected