Skip to content

Files

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 30, 2023
May 22, 2023
Apr 27, 2023
Feb 7, 2024
Jul 29, 2023
Nov 28, 2022
May 27, 2023
Nov 28, 2022
Mar 5, 2025
Oct 1, 2024
Mar 5, 2025
Apr 29, 2023
Oct 1, 2024

Requirements

Requires the "NAI_USERNAME" and "NAI_PASSWORD" values provided via environment variables. They can be provided through a .env file at the root of the project.

The "NAI_PROXY" environment variable is also supported to inject a proxy address.

Usage

For running all the tests under the tests/api folder :

poetry run nai-test-api

For running a specific test files (using the pytest name scheme) :

poetry run nai-test-api <filename 1> ... <filename n>

Remember to run poetry install before running the test, if not already done.