Skip to content

davidemoro/play_sql

Repository files navigation

play sql

https://travis-ci.org/davidemoro/play_sql.svg?branch=develop Documentation Status

pytest-play support for SQL expressions and assertions

More info and examples on:

Features

This project defines a new pytest-play command:

- type: sql
  provider: play_sql
  database_url: postgresql://$db_user:$db_pwd@$db_host/$db_name
  query: SELECT id, title FROM invoices
  variable: invoice_id
  variable_expression: results.first()[0]
  assertion: invoice_id == $invoice_id

where:

Twitter

pytest-play tweets happens here:

Credits

This package was created with Cookiecutter and the cookiecutter-play-plugin (based on audreyr/cookiecutter-pypackage project template).

About

pytest-play support for SQL expressions and assertions

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors