You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/readme.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,10 @@ To run tests locally:
2
2
- Clone the repo: `git clone https://github.com/vvaezian/metabase_api_python.git`
3
3
- Go to the repo directory: `cd metabase_api_python`
4
4
- Run the initial setup for the desired Metabase version: `./tests/initial_setup.sh -v 0.45.2.1`
5
-
This will download the Metabase jar file, runs it, creates an admin user, creates some collections/cards/dashboards which will be used during unittest (you can login to this local Metabase by browsing 'http://localhost:3000' after the command has finished processing, and entering email: 'abc.xyz@gmail.com' and password 'xzy12345')
6
-
- Run the unittests: `python3 -m unittest tests/test_metabase_api.py`
5
+
This will download the Metabase jar file, runs it in the background, creates an admin user, creates some collections/cards/dashboards which will be used during unittest
6
+
- Run the unittests: `python3 -m unittest tests/test_metabase_api.py`
7
+
8
+
9
+
After `initial_setup.sh` is finished, you can login to the running local Metabase by browsing 'http://localhost:3000' and entering email: 'abc.xyz@gmail.com' and password 'xzy12345'
0 commit comments