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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for mysqld-integration-test-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc1716cf4cb47a6f829fd98c9df279f32cbc320a1f30f5d9017bffc05e2054d0 |
|
MD5 | 883a7f391f86799e98867adcd8cfaa45 |
|
BLAKE2b-256 | 64db013d279597e5842d272186614a153f131e048b696dd649a3143360142034 |
Close
Hashes for mysqld_integration_test-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fcad0fcb2fb4943a525546f2c601afff2406950628f8cf500a2faccdff26873 |
|
MD5 | eedee993ffff909505667c4fde17ce2c |
|
BLAKE2b-256 | 157f1c1b3372684f1e2750661a47c086ad05ee7f25ae70f6b2b06d04e449ff1b |