Bebop/bebop/tests/test_protocol.py

11 lines
249 B
Python
Raw Normal View History

2021-02-12 19:01:42 +01:00
import unittest
from ..protocol import parse_gemini_url
class TestGemini(unittest.TestCase):
def test_parse_url(self):
r1 = parse_gemini_url("gemini://dece.space")
self.assertDictEqual(r1, {"host": "dece.space", "path": ""})