You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
384 B

from lint import get_action_update
import urllib3 as urllib
http = urllib.PoolManager()
def test_action_update():
action_id = "actions/checkout@86f86b36ef15e6570752e7175f451a512eac206b"
sub_string = "github.com"
update_url = get_action_update(action_id)
assert str(sub_string) in str(update_url)
r = http.request("GET", update_url)
assert r.status == 200