Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
 
 

discovery-provider

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Discovery Node

A Discovery Node is the metadata and indexing layer for the Audius Protocol.

Development

See the dev-tools README.

audius-compose up

curl http://audius-protocol-discovery-provider-1:5000/health_check

Testing

Run tests

# Run all tests
audius-compose test discovery-provider

# Run unit tests
audius-compose test discovery-provider src

# Run integration tests
audius-compose test discovery-provider integration_tests

# A single test
audius-compose test discovery-provider src/api/v1/api_unit_test.py

# Run the testing container to attach your own tester
audius-compose test up discovery-provider
docker exec -it audius-protocol-test-test-discovery-provider-1 pytest
# To use the vscode tester,
# Open the command palette and select Dev Containers: Attach to Running Container
# Navigate to the test you want to run and run it!