forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -54,12 +54,6 @@ def test_no_flag_reaches_the_server_service(listing: dict[str, Any]) -> None:
|
||||
assert served(params) == {"title": "an-id", "flag": False, "loud": False, "quiet": True}
|
||||
|
||||
|
||||
def test_a_secondary_only_alias_with_a_callable_default_reaches_the_server(listing: dict[str, Any]) -> None:
|
||||
params = sent(listing, ["-Q"])
|
||||
assert params == {"flag": True, "quiet": False}
|
||||
assert served(params)["quiet"] is False
|
||||
|
||||
|
||||
def test_a_default_value_is_sent_as_before(listing: dict[str, Any]) -> None:
|
||||
assert sent(listing, []) == {"flag": True}
|
||||
assert sent(listing, ["--loud"]) == {"flag": True, "loud": True}
|
||||
|
||||
Reference in New Issue
Block a user