From 3de861384395aad2e527dcf9c2196a1f2eeed4f3 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Fri, 5 May 2017 11:24:58 +0200 Subject: [PATCH] Added test with an empty CSV file --- features/testbot/traffic_speeds.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/features/testbot/traffic_speeds.feature b/features/testbot/traffic_speeds.feature index d24089a6f..32f850c0f 100644 --- a/features/testbot/traffic_speeds.feature +++ b/features/testbot/traffic_speeds.feature @@ -153,3 +153,11 @@ Feature: Traffic - speeds When I try to run "osrm-contract --segment-speed-file {speeds_file} {processed_file}" And stderr should contain "malformed" And it should exit with an error + + Scenario: Check with an empty speed file + Given the speed file + """ + """ + And the data has been extracted + When I try to run "osrm-contract --segment-speed-file {speeds_file} {processed_file}" + And it should exit successfully