def test_create_json():
    vocab_handler = VocabularyHandler().json_response(
        factories.VocabularyFactory())
    vocab_handler.create_json()
    assert vocab_handler.vocab_mimetype == 'application/json'
def test_create_json():
    vocab_handler = VocabularyHandler().json_response(
        factories.VocabularyFactory())
    vocab_handler.create_json()
    assert vocab_handler.vocab_mimetype == 'application/json'