Skip to content

Commit

Permalink
Merge pull request #398 from rht/fix-flockers
Browse files Browse the repository at this point in the history
Flockers: fix param naming
  • Loading branch information
jackiekazil authored Jul 15, 2017
2 parents ffe5ca1 + 08f2122 commit f1de9f4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ script:
# * E123 - indentation on data structures
- flake8 . --ignore=F403,E501,E123,E128 --exclude=docs,build
- nosetests --with-coverage --cover-package=mesa
- ./tests/test_end_to_end_viz.sh
after_success:
- coveralls
2 changes: 1 addition & 1 deletion examples/Flockers/flockers/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def boid_draw(agent):

boid_canvas = SimpleCanvas(boid_draw, 500, 500)
model_params = {
"N": 100,
"population": 100,
"width": 100,
"height": 100,
"speed": 5,
Expand Down
8 changes: 8 additions & 0 deletions tests/test_end_to_end_viz.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

cd examples/Flockers
python run.py &
PID=$!
sleep 3
curl localhost:8521 | grep Boids
kill $PID

0 comments on commit f1de9f4

Please sign in to comment.