예제 #1
0
def test_create_link() -> None:
    time.sleep(60)

    import requests

    from sxcu import SXCU

    t = SXCU()
    con = t.create_link("https://github.com/naveen521kk/sxcu")

    c = requests.get(con["url"])
    assert c.status_code == 200
예제 #2
0
def test_create_link() -> None:
    _t = SXCU()
    con = _t.create_link("https://github.com/naveen521kk/sxcu")
    _c = requests.get(con["url"])
    assert _c.status_code == 200