Skip to content

dvergilyush/devdays2020-sdc-demo-backend

 
 

Repository files navigation

sdc-demo Backend

Black autoformater

brew install pre-commit
pre-commit install

Tests

To run tests locally, copy .env.tpl to .env and specify TESTS_AIDBOX_LICENSE_ID and TESTS_AIDBOX_LICENSE_KEY https://license-ui.aidbox.app/.

Build images using docker-compose -f docker-compose.tests.yaml build.

After that, just start ./run_test.sh or ./run_test.sh tests/test_base.py (if you want to run the particular file/test). The first run may take about a minute because it prepares the db and devbox.

If you have updated some requirements, you need to re-run docker-compose -f docker-compose.tests.yaml build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.7%
  • Shell 19.5%
  • HTML 6.2%
  • Smarty 1.8%
  • Dockerfile 0.8%