Skip to content

Commit

Permalink
excinfo test
Browse files Browse the repository at this point in the history
  • Loading branch information
devennavani committed May 7, 2024
1 parent 20d42a4 commit e974e1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/app_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,9 @@ def test_list_apps(client):


def test_non_string_app_name():
with pytest.raises(InvalidError):
with pytest.raises(InvalidError) as excinfo:
App(Image.debian_slim()) # type: ignore
assert "Must be string" in str(excinfo.value)


def test_function_named_app():
Expand Down

0 comments on commit e974e1b

Please sign in to comment.