fix: 포트 충돌 회피 — note_bridge 8098, intent_service 8099
Jellyfin(8096), OrbStack(8097) 포트 충돌으로 변경. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import pytest
|
||||
|
||||
from icalendar.prop import vBoolean
|
||||
|
||||
|
||||
def test_true():
|
||||
assert vBoolean(True).to_ical() == b"TRUE"
|
||||
|
||||
|
||||
def test_false():
|
||||
assert vBoolean(0).to_ical() == b"FALSE"
|
||||
|
||||
|
||||
def test_roundtrip():
|
||||
assert vBoolean.from_ical(vBoolean(True).to_ical()) == True
|
||||
assert vBoolean.from_ical("true") == True
|
||||
|
||||
|
||||
def test_error():
|
||||
"""Error: key not exists"""
|
||||
with pytest.raises(ValueError):
|
||||
vBoolean.from_ical("ture")
|
||||
Reference in New Issue
Block a user