Skip to main content

Collection of utils for the Falcon Framework

Project description

Collection of utils for the Falcon Framework.

Build Status Coverage Status Python versions PyPi


pip install falcon-toolkit

Provided fixtures

Before using it you must define api that returns instance of your falcon.API app

import pytest

from yout_application import create_api

def api():
    return create_api()


def test_something(client):
    got = client.get('/your_url/42/')  # returns json of response and automatically check response status code
    assert got == {'awesome': 'response'}

    response = client.get('/your_url/100500/')  # returns testing response object and skip status code check
    assert response.status_code == 400
    assert response.json = 'Invalid id'

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
falcon-toolkit-0.0.1.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page