test: add astra integration test (#2189)
* add first astra integ test framework * use fixtures * remove old tests from merge * Add correct sender type * chore: Update unit test command in GitHub workflow --------- Co-authored-by: ogabrielluiz <gabriel@langflow.org>
This commit is contained in:
parent
5a04adfa1f
commit
ca660cf8df
31 changed files with 211 additions and 12 deletions
6
Makefile
6
Makefile
|
|
@ -55,9 +55,11 @@ coverage: ## run the tests and generate a coverage report
|
|||
|
||||
|
||||
# allow passing arguments to pytest
|
||||
tests: ## run the tests
|
||||
poetry run pytest tests --instafail -ra -n auto -m "not api_key_required" $(args)
|
||||
unit_tests:
|
||||
poetry run pytest tests/unit --instafail -ra -n auto -m "not api_key_required" $(args)
|
||||
|
||||
integration_tests:
|
||||
poetry run pytest tests/integration --instafail -ra -n auto $(args)
|
||||
|
||||
format: ## run code formatters
|
||||
poetry run ruff check . --fix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue