test.sh 228 B

1234567891011
  1. #!/bin/bash
  2. if [[ $1 == "port" ]]
  3. then
  4. python -m bjcli -w 4 -i 0.0.0.0 -p 8888 tests.test_project.app:app
  5. elif [[ $1 == "sock" ]]
  6. then
  7. python -m bjcli -w 4 -i unix:$(pwd)/tests/tmp/test.sock tests.test_project.app:app
  8. fi