Changeset 112c8c5 in osmose-backend


Ignore:
Timestamp:
Jun 9, 2014 4:59:23 PM (5 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
e67f895
Parents:
4fa8af6
Message:

Also test OsmBin? with read-only database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/OsmBin.py

    r27d4d8a r112c8c5  
    537537 
    538538    def test_node(self): 
     539        del self.a 
     540        self.a = OsmBin("tmp-osmbin/", "r") 
    539541        self.check_node(self.a.NodeGet, 266053077) 
    540542        self.check_node(self.a.NodeGet, 2619283351) 
     
    552554 
    553555    def test_relation(self): 
     556        del self.a 
     557        self.a = OsmBin("tmp-osmbin/", "r") 
    554558        self.check_relation(self.a.RelationGet, 47796) 
    555559        self.check_relation(self.a.RelationGet, 2707693) 
Note: See TracChangeset for help on using the changeset viewer.