Skip to content

Commit

Permalink
Modify unit test to look for security slider text
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Nov 29, 2016
1 parent 4760179 commit 0760568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/tests/test_unit_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def test_why_journalist_key(self):
def test_howto_disable_js(self):
rv = self.client.get('/howto-disable-js')
self.assertEqual(rv.status_code, 200)
self.assertIn("Disable JavaScript to Protect Your Anonymity", rv.data)
self.assertIn("Turn the Security Slider to High to Protect Your Anonymity", rv.data)

@patch('crypto_util.hash_codename')
def test_login_with_overly_long_codename(self, mock_hash_codename):
Expand Down

0 comments on commit 0760568

Please sign in to comment.