Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Jun 26, 2017
1 parent 3b4401f commit 9155e81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_sched.py
Expand Up @@ -866,7 +866,8 @@ def test_task_preloading_external_uid(self):
external_uid='2xb')
tr = json.dumps(tr)

res = self.app.post('/api/taskrun', data=tr, headers=headers)
res = self.app.post('/api/taskrun?external_uid=2xb',
data=tr, headers=headers)
# Get two tasks again
res = self.app.get(url, headers=headers)
task3 = json.loads(res.data)
Expand Down Expand Up @@ -924,7 +925,8 @@ def test_task_preloading_external_uid_limit(self):
external_uid='2xb')
tr = json.dumps(tr)

res = self.app.post('/api/taskrun', data=tr, headers=headers)
res = self.app.post('/api/taskrun?external_uid=2xb',
data=tr, headers=headers)
# Get two tasks again
res = self.app.get(url, headers=headers)
tasks3 = json.loads(res.data)
Expand Down

0 comments on commit 9155e81

Please sign in to comment.