💾 Archived View for gmn.clttr.info › sources › gusmobile.git › tree › tests › test_gusmobile.py.txt captured on 2023-09-08 at 16:30:49.

View Raw

More Information

-=-=-=-=-=-=-

import sys
import os
import pytest

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))

import gusmobile

class TestGusMobile:
    def test_gusmobile_fetch(self):
        url = "gemini://heathens.club/~fluentpwn/"

        response = gusmobile.fetch(url)
        assert response != ""