Coverage for bookie.tests.test_utils.test_export : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Tests that we make sure our export functions work"""
"""Test the web export"""
"""Return the basics for a good add bookmark request""" 'url': u'http://google.com', 'description': u'This is my google desc', 'extended': u'And some extended notes about it in full form', 'tags': u'python search', 'api_key': API_KEY }
params=req_params,)
global API_KEY "SELECT api_key FROM users WHERE username = 'admin'").fetchone()
"""We need to empty the bmarks table on each run"""
"""Test that we can upload/import our test file"""
'/api/v1/admin/bmarks/export?api_key=' + API_KEY, status=200)
msg='Google is in the exported body: ' + res.body)
"Should be one result: " + str(data['count'])) |