Skip to content

Commit

Permalink
Wait for auto-push step 2 to finish before proceeding to be more cons…
Browse files Browse the repository at this point in the history
…istent. Try adding back list firmware test
  • Loading branch information
indy-independence committed Feb 3, 2021
1 parent 0d07f87 commit 4934cc4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/integrationtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,10 @@ def test_04_syncto_access(self):
verify=TLS_VERIFY
)
self.assertEqual(r.status_code, 200, "Failed to do sync_to access")
self.check_jobid(r.json()['job_id'])
auto_job1 = self.check_jobid(r.json()['job_id'])
self.assertEqual(type(auto_job1['next_job_id']), int, "No auto-push commit job found")
self.check_jobid(auto_job1['next_job_id'])


def test_05_syncto_dist(self):
r = requests.post(
Expand Down Expand Up @@ -247,7 +250,7 @@ def test_08_firmware(self):
verify=TLS_VERIFY
)
# TODO: not working
#self.assertEqual(r.status_code, 200, "Failed to list firmware")
self.assertEqual(r.status_code, 200, "Failed to list firmware")

def test_09_sysversion(self):
r = requests.get(
Expand Down

0 comments on commit 4934cc4

Please sign in to comment.