File: README.integration_tests

package info (click to toggle)
aiomysql 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 912 kB
  • sloc: python: 6,894; makefile: 213
file content (21 lines) | stat: -rw-r--r-- 602 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Configure your machine for integrations tests
---------------------------------------------


You need a local docker server running as well as mariab-server.

Run the following statement in MySQL to allow root user to connect
and to create required test databases.

  UPDATE user SET plugin="" WHERE Host="localhost" AND User="root";
  FLUSH PRIVILEGES;

  CREATE DATABASE test_pymysql;
  CREATE DATABASE test_pymysql2;

You can now build the package like this:

  DEB_BUILD_PROFILES="pkg.aiomysql.integrationtests" debuild -sa


 -- Adam Cecile <acecile@le-vert.net>  Thu, 04 Jul 2019 19:03:11 +0200