Skip to content

Commit

Permalink
tests: core: test_kwargs_override expect error only with diff value
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba authored and zzacharo committed Oct 26, 2023
1 parent d37680c commit a06dc9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,14 @@ def test():


def test_kwargs_override(app):
"""Test if optional arguments cannot be overriden."""
"""Test if optional arguments cannot be overriden with different value."""

@app.route("/test")
def test():
return "view test"

with raises(RuntimeError):
current_menu.submenu("test").register("test", "Test", url="/test")
current_menu.submenu("test").register("test", "Test", url="/test1")


def test_external_url(app):
Expand Down

0 comments on commit a06dc9e

Please sign in to comment.