Skip to main content

mysqld-integration-test is a python module that creates a temporary mysqld instance to use for testing your application.

Project description

mysqld-integration-test

version 0.0.2

Overview

mysqld-integration-test is a python module that creates a temporary mysqld instance to use for testing your application. It is based on the testing.mysqld module which has not been updated recently.

Download and Install

To install use pip:

$ pip install mysqld-integration-test

Or clone the repo:

$ git clone https://github.com/jasondcamp/mysqld-integration-test.git

Configuration

mysqld-integration-test environment variables and command line options

Usage

import

from mysqld_integration_test import Mysqld

run

Starts up the mysql server

mysqld = Mysqld()
mysqld.run()

stop

Stops the mysql server

mysqld.stop()

Example

#!/usr/bin/env python3

from mysqld_integration_test import Mysqld

mysqld = Mysqld()
mysqld.run()



mysqld.stop()

Project details


Download files

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

Source Distribution

mysqld-integration-test-0.0.2.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

mysqld_integration_test-0.0.2-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page