Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

pytest-play support for Cassandra expressions and assertions

Project description

play cassandra

https://img.shields.io/pypi/v/play_cassandra.svg https://travis-ci.org/davidemoro/play_cassandra.svg?branch=develop Documentation Status https://codecov.io/gh/davidemoro/play_cassandra/branch/develop/graph/badge.svg

pytest-play support for Cassandra expressions and assertions

More info and examples on:

Features

This project defines a new pytest-play command:

- provider: play_cassandra
  type: execute
  connection:
    contact_points:
    - 10.1.1.3
    - 10.1.1.4
    - 10.1.1.5
    port: '9042'
    auth_provider:
      username: "$username"
      password: "$password"
  keyspace: users
  query: SELECT name, age, email FROM users WHERE user_id=15
  variable: user1_age
  variable_expression: results[0].age
  assertion: results[0].name == User 1'

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).

CHANGES

0.0.4 (2019-01-25)

  • Supports new pytest-play >= 2.0 YAML based syntax (json no more supported)

0.0.3 (2018-01-23)

  • speed up cassandra connections with cache

0.0.2 (2018-01-22)

  • removed play_python from dependencies (deprecated)

0.0.1 (2018-01-16)

  • First release

Project details


Download files

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

Files for play-cassandra, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size play_cassandra-0.0.4-py2.py3-none-any.whl (8.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size play_cassandra-0.0.4.tar.gz (17.7 kB) File type Source Python version None Upload date Hashes View hashes

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