Skip to content

Commit

Permalink
Update running_unit_tests_locally.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Sharples authored Oct 24, 2024
1 parent a219ad8 commit 7463eb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/Contributors_Guide/running_unit_tests_locally.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,21 @@ for support appropriate to your system and environment. For up to date instructi
Below is an example setup on CentOS.

1. Install mariadb-server:

.. code-block:: console
$ sudo yum install mariadb-server
2. start mariadb and change the root password. Note that by default there is no password for the root user:

.. code-block:: console
$ sudo mariadb -u root -p
[MariaDB]> ALTER USER 'root'@'localhost' IDENTIFIED BY 'root_password';
[MariaDB]> exit;
3. start the mariadb service:

.. code-block:: console
$ sudo systemctl start mariadb
Expand All @@ -40,6 +43,7 @@ Running Tests
=============

Tests can be run using `pytest`. If required, you can install using either `conda install pytest` or `pip install pytest`.

.. code-block:: console
$ pytest METdbLoad/test/
Expand Down

0 comments on commit 7463eb9

Please sign in to comment.