File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,20 @@ These tests validate if the Jupyter Notebook Integration works well in presence
2020 ```
21214. MATLAB Proxy requirements
22225. Jupyter MATLAB Proxy requirements
23+ 6. Valid MathWorks Account credentials
2324
2425### How to run
26+ * Set the environment variables TEST_USERNAME and TEST_PASSWORD to be your
27+ MathWorks Account user credentials.
28+ - Bash (Linux/macOS):
29+ ```bash
30+ TEST_USERNAME="some-username" && TEST_PASSWORD="some-password"
31+ ```
32+ - Powershell (Windows):
33+ ```powershell
34+ $env:TEST_USERNAME="some-username"; $env:TEST_PASSWORD="some-password"
35+ ```
36+
2537* Run the following command from the root directory of the project:
2638 ```
2739 python3 -m pytest tests/integration
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def perform_basic_checks():
1717 import matlab_proxy .settings
1818
1919 # Validate MATLAB before testing
20- matlab_path = matlab_proxy .settings .get_matlab_root_path ()
20+ _ , matlab_path = matlab_proxy .settings .get_matlab_executable_and_root_path ()
2121
2222 # Check if MATLAB is in the system path
2323 assert matlab_path is not None , "MATLAB is not in system path"
You can’t perform that action at this time.
0 commit comments