Skip to content

Instantly share code, notes, and snippets.

@jay-johnson
Last active July 19, 2016 13:59
Show Gist options
  • Select an option

  • Save jay-johnson/be85da4f02e5c8fb722a2286f5cd494f to your computer and use it in GitHub Desktop.

Select an option

Save jay-johnson/be85da4f02e5c8fb722a2286f5cd494f to your computer and use it in GitHub Desktop.
Test 0
if (test_num == 0 )
{
// Test we can download the home page from the running django docker container
sh "docker exec -t ${container_name} curl -s http://localhost/home/ | grep Welcome | wc -l | tr -d '\n' > /tmp/test_results"
expected_results = 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment