aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_db/tests/unit_python/configure_db.sh
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2017-12-01 11:18:17 +0100
committerThomas Duval <thomas.duval@orange.com>2017-12-01 11:18:17 +0100
commit9c14ca82d4d17dfa66cb0b68f1e9c72b62ff1749 (patch)
tree9617e2c2a1e5d2ef555d41807896ef27d208e72a /moonv4/moon_db/tests/unit_python/configure_db.sh
parent2fad75912a5b90d76985853c20668fd5afd2390d (diff)
Add unit tests for moon_db
Change-Id: I98c18e696bd9dffe8c0ccc62df6c5210d78b4ab4
Diffstat (limited to 'moonv4/moon_db/tests/unit_python/configure_db.sh')
-rw-r--r--moonv4/moon_db/tests/unit_python/configure_db.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/moonv4/moon_db/tests/unit_python/configure_db.sh b/moonv4/moon_db/tests/unit_python/configure_db.sh
deleted file mode 100644
index bdc259fe..00000000
--- a/moonv4/moon_db/tests/unit_python/configure_db.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env bash
-
-apt-get install mysql-server python-mysqldb python-pymysql
-
-mysql -uroot -ppassword <<EOF
-CREATE DATABASE moon DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
-GRANT ALL ON moon.* TO 'moonuser'@'%' IDENTIFIED BY 'password';
-GRANT ALL ON moon.* TO 'moonuser'@'localhost' IDENTIFIED BY 'password';
-EOF