mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Reduce expire time to 1800, to reduce changes of test failing
This commit is contained in:
parent
3451deee03
commit
0b0d2bcdfc
@ -339,7 +339,7 @@ class CsvQueryResultAPITest(BaseTestCase, AuthenticationTestMixin):
|
||||
|
||||
def test_returns_200_for_correct_signature(self):
|
||||
with app.test_client() as c:
|
||||
expires = time.time()+3600
|
||||
expires = time.time()+1800
|
||||
rv = c.get('/api/queries/{0}/results/{1}.csv'.format(self.query_result.query.id, self.query_result.id), query_string={'signature': self.signature(expires), 'expires': expires})
|
||||
self.assertEquals(rv.status_code, 200)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user