Skip to content

Commit

Permalink
Update functional tests to revised language
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Aug 17, 2019
1 parent bb4a518 commit a27de5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions securedrop/tests/test_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def test_index(source_app):
resp = app.get(url_for('main.index'))
assert resp.status_code == 200
text = resp.data.decode('utf-8')
assert 'Submit for the first time' in text
assert 'Already submitted something?' in text
assert 'First submission' in text
assert 'Return visit' in text


def test_all_words_in_wordlist_validate(source_app):
Expand Down Expand Up @@ -627,7 +627,7 @@ def test_source_is_deleted_while_logged_in(source_app):
resp = app.post(url_for('main.lookup'), follow_redirects=True)
assert resp.status_code == 200
text = resp.data.decode('utf-8')
assert 'Submit for the first time' in text
assert 'First submission' in text
assert 'logged_in' not in session
assert 'codename' not in session

Expand Down

0 comments on commit a27de5f

Please sign in to comment.