fix EOF line and forgotten 'only'

This commit is contained in:
Simon Martín 2017-11-17 13:17:42 +01:00
parent 501296f818
commit 63238ddd89
2 changed files with 2 additions and 2 deletions

View File

@ -799,7 +799,7 @@ it('GET with callback must return 200 status error even if it is an error', func
});
});
it.only('GET with slow python script exceeding statement timeout returns proper error message', function(done){
it('GET with slow python script exceeding statement timeout returns proper error message', function(done){
assert.response(server, {
url: "/api/v1/sql?q=select%20py_sleep(2.1)",
headers: {host: 'vizzuality.cartodb.com'},

View File

@ -2,4 +2,4 @@ CREATE OR REPLACE FUNCTION py_sleep(t FLOAT8)
RETURNS void AS $$
import time
time.sleep(t)
$$ LANGUAGE plpythonu;
$$ LANGUAGE plpythonu;