Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

play-cassandra

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

play-cassandra

pytest-play support for Cassandra expressions and assertions

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

============== play cassandra

.. image:: https://img.shields.io/pypi/v/play_cassandra.svg :target: https://pypi.python.org/pypi/play_cassandra

.. image:: https://travis-ci.org/davidemoro/play_cassandra.svg?branch=develop :target: https://travis-ci.org/davidemoro/play_cassandra

.. image:: https://readthedocs.org/projects/play-cassandra/badge/?version=latest :target: https://play-cassandra.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://codecov.io/gh/davidemoro/play_cassandra/branch/develop/graph/badge.svg :target: https://codecov.io/gh/davidemoro/play_cassandra

pytest-play support for Cassandra expressions and assertions

More info and examples on:

  • pytest-play_, documentation
  • cookiecutter-qa_, see pytest-play in action with a working example if you want to start hacking

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:

  • @davidemoro_

Credits

This package was created with Cookiecutter_ and the cookiecutter-play-plugin_ (based on audreyr/cookiecutter-pypackage_ project template).

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage .. _cookiecutter-play-plugin: https://github.com/davidemoro/cookiecutter-play-plugin .. _pytest-play: https://github.com/davidemoro/pytest-play .. _cookiecutter-qa: https://github.com/davidemoro/cookiecutter-qa .. _@davidemoro: https://twitter.com/davidemoro

======= 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc