Skip to content

Commit

Permalink
Update tests to accompany tor repo mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
msheiny committed Aug 16, 2017
1 parent 6a539aa commit c81f904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testinfra/common/test_cron_apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_cron_apt_config(File):
'deb http://security.ubuntu.com/ubuntu trusty-security universe',
'deb-src http://security.ubuntu.com/ubuntu trusty-security universe',
'deb [arch=amd64] https://apt.freedom.press trusty main',
'deb http://deb.torproject.org/torproject.org trusty main',
'deb http://tor-apt.ops.freedom.press trusty main',
])
def test_cron_apt_repo_list(File, repo):
"""
Expand Down
2 changes: 1 addition & 1 deletion testinfra/common/test_tor_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_tor_apt_repo(File):
The version of Tor in the Trusty repos is not up to date.
"""
f = File('/etc/apt/sources.list.d/deb_torproject_org_torproject_org.list')
repo_regex = re.escape('deb http://deb.torproject.org/torproject.org trusty main')
repo_regex = re.escape('deb http://tor-apt.ops.freedom.press trusty main')
assert f.contains(repo_regex)


Expand Down

0 comments on commit c81f904

Please sign in to comment.