Skip to content

Commit

Permalink
Fixing integration tests (#56)
Browse files Browse the repository at this point in the history
Fixing integration tests

Co-authored-by: nelnk861 <[email protected]>
  • Loading branch information
nkongenelly and nkongenelly authored Jan 26, 2024
1 parent 2b0200e commit 7983064
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion delivery/handlers/delivery_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def post(self, staging_id):

self.set_status(ACCEPTED)

dds_version = dds_project.get_dds_version()
dds_version = yield dds_project.get_dds_version()
self.write_json({'delivery_order_id': delivery_id,
'delivery_order_link': status_end_point,
'dds_version': dds_version})
Expand Down
3 changes: 3 additions & 0 deletions tests/integration_tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ def mock_delivery(cmd):
new_cmd = " ".join(new_cmd)
shell = True
elif '--version' in cmd:
new_cmd = ['sleep', str(0.01)]
new_cmd += ['&&', 'echo', f"2.6.1"]
new_cmd = " ".join(new_cmd)
shell = True
else:
new_cmd = cmd

Expand Down

0 comments on commit 7983064

Please sign in to comment.