repo.or.cz
/
osm-ro-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
+ Fundacul
[osm-ro-tools.git]
/
test
/
test_OsmApiExt.py
blob
78ec19302012c1d88b2e4881f3b1546de50cb0d8
1
import
pytest
2
from
conftest
import
*
3
from
OsmUtils
import
OsmApiExt
4
from
copy
import
deepcopy
5
6
7
def
test_grepall
():
8
testmap
=
deepcopy
(
nametagwaymap
)
9
l
=
OsmApiExt
.
grepElementsInMap
(
testmap
,
u
'name'
,
u
'.'
)
10
assert
len
(
l
) ==
len
(
nametagwaymap
)
11
12
13
#def test_OsmApiExt():
14
# assert 0