claude fixoval /remind skill
This commit is contained in:
@@ -39,9 +39,8 @@ def test_add_list(tmp_path, capsys):
|
||||
ret = _run(db_path, ["list"])
|
||||
captured = capsys.readouterr()
|
||||
assert ret == 0
|
||||
data = json.loads(captured.out)
|
||||
assert len(data["reminders"]) == 1
|
||||
assert data["reminders"][0]["text"] == "drink water"
|
||||
assert "drink water" in captured.out
|
||||
assert "cron: 0 9 * * *" in captured.out
|
||||
|
||||
|
||||
def test_add_at_validation(tmp_path, capsys):
|
||||
@@ -78,8 +77,7 @@ def test_remove(tmp_path, capsys):
|
||||
|
||||
ret = _run(db_path, ["list"])
|
||||
captured = capsys.readouterr()
|
||||
data = json.loads(captured.out)
|
||||
assert len(data["reminders"]) == 0
|
||||
assert captured.out.strip() == ""
|
||||
|
||||
|
||||
def test_remove_no_match(tmp_path, capsys):
|
||||
|
||||
Reference in New Issue
Block a user