singnet / snet-daemon

Service Daemon exposes an AI application as an API that is accessible through the SingularityNET Network. It handles all interaction with the blockchain for authorization and payment using AGI tokens and passes through API calls to the AI application.
MIT License
45 stars 48 forks source link

Move tests which depends on external service (metering test) into integration test package #521

Open vsbogd opened 3 years ago

vsbogd commented 3 years ago

Following up https://github.com/singnet/snet-daemon/issues/518.

As metering tests depend on external server (see https://github.com/singnet/snet-daemon/pull/515/files) they should be moved into separate package, lets say integration_test and removed from unit test chain. They should be started manually before release or by CI in separate environment. They cannot be used as unit tests as they cannot be built offline.

Also see https://github.com/singnet/snet-daemon/issues/448

anandrgitnirman commented 3 years ago

429