Skip to content

Commit

Permalink
notusefull
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Apr 5, 2016
1 parent 3823d71 commit 2acf71b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tilecloud_chain/openlayers_js.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
var capabilities = format.read(doc);
{% for layer in layers %}
map.addLayer(format.createLayer(capabilities, {
layer: "{{layer['name']}}",
layer: "{{layer.name}}",
maxExtent: {{layer.maxExtent}},{%
if layer.grid %}
isBaseLayer: false,
Expand Down
4 changes: 2 additions & 2 deletions tilecloud_chain/tests/test_multihost.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ def test_time_multihost(self):
expected="""==== Sync and build code ====
==== Time results ====
A tile is generated in: [0-9\.]* \[ms\]
Then mean generated tile size: 0.82[0-9] \[kb\]
Then mean generated tile size: 0.82[67] \[kb\]
config:
cost:
tileonly_generation_time: [0-9\.]*
tile_generation_time: [0-9\.]*
metatile_generation_time: 0
tile_size: 0.82[0-9]
tile_size: 0.82[67]
""", regex=True)

self.assert_cmd_equals(
Expand Down

0 comments on commit 2acf71b

Please sign in to comment.