Skip to content

Commit

Permalink
Working tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jensenbox committed Oct 24, 2017
1 parent 3f6589d commit 7a3d7c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion agent/agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export SN_NETWORK_GATEWAY=$(netstat -nr | grep '^0\.0\.0\.0' | awk '{print $2}')
echo $SN_NETWORK_GATEWAY

function run_tests {
py.test --verbose --cov-config .coveragerc --cov-report html --cov=sn_agent tests
cd tests
py.test --verbose --cov-config .coveragerc --cov-report html --cov=sn_agent .
}

case "$1" in
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ agent-docs)
;;

agent-test)
docker-compose create --build --force-recreate alice
docker-compose run alice ./agent.sh test
docker-compose create --build --force-recreate test
docker-compose run test ./agent.sh test
;;

travis-test)
Expand Down

0 comments on commit 7a3d7c1

Please sign in to comment.