Commit e0700d40 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

mirrors: tests: rename duplicate function

Two functions where called test_valid, rename one.
parent dc4719d2
......@@ -47,7 +47,7 @@ def test_valid(self, urlopen, Request):
@mock.patch('urllib.request.Request')
@mock.patch('urllib.request.urlopen')
def test_valid(self, urlopen, Request):
def test_valid_olddate(self, urlopen, Request):
urlopen.return_value.read.return_value = str(int(time.time()))
Request.get_host.return_value = 'archlinux.org'
Request.type.return_value = 'https'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment