fix tests
This commit is contained in:
@@ -503,8 +503,9 @@ def getagegrouprecord(age, sex='male', weightcategory='hwt',
|
||||
|
||||
def polygon_to_path(polygon, debug=True):
|
||||
pid = polygon[0]
|
||||
query = "SELECT id, latitude, longitude FROM rowers_geopoint WHERE polygon_id = {pid}'\
|
||||
' ORDER BY order_in_poly ASC".format(pid=pid)
|
||||
query = "SELECT id, latitude, longitude FROM rowers_geopoint WHERE polygon_id = {pid}"\
|
||||
" ORDER BY order_in_poly ASC".format(
|
||||
pid=pid)
|
||||
if debug:
|
||||
engine = create_engine(database_url_debug, echo=False)
|
||||
else: # pragma: no cover
|
||||
|
||||
Reference in New Issue
Block a user