Skip to content

Commit

Permalink
fix commit integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
zubenkoivan committed Sep 15, 2021
1 parent a7a3ce3 commit e0c3660
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/integration/test_jobs_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,7 @@ async def test_save_commit_fails_with_exception(
registry_host = "localhost:5000"
image = f"{registry_host}/InvalidImageName:{image_tag}"

with pytest.raises(
JobException, match="error: repository name must be lowercase"
):
with pytest.raises(JobException, match="repository name must be lowercase"):
async with jobs_service.save(job, user, image) as it:
async for chunk in it:
pass
Expand Down

0 comments on commit e0c3660

Please sign in to comment.