Skip to content
Snippets Groups Projects
Commit 080a31f4 authored by nimrod's avatar nimrod
Browse files

- Filled in all tests.

- Updated documentation.
parent 4aaeb630
No related branches found
No related tags found
No related merge requests found
...@@ -67,4 +67,6 @@ at: https://www.shore.co.il/git/. ...@@ -67,4 +67,6 @@ at: https://www.shore.co.il/git/.
TODO TODO
---- ----
- Testing. - More thorough, applicative tests.
- A backup script that saves each database in its own file but in a single
transaction without locking.
...@@ -21,7 +21,9 @@ def test_mysql_ssl_group(User): ...@@ -21,7 +21,9 @@ def test_mysql_ssl_group(User):
def test_mysql_admin_account(Command, Sudo): def test_mysql_admin_account(Command, Sudo):
pass with Sudo():
'localhost' in Command(
'''mysql --defaults-file=/etc/mysql/debian.cnf --database mysql --execute 'select Host from user where User="admin"' ''').stdout # noqa: E501
def test_mysql_backup_job(Command, Sudo): def test_mysql_backup_job(Command, Sudo):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment