Skip to content

Commit

Permalink
test: source code was detected because the title matched
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Feb 29, 2020
1 parent 1913453 commit ab399d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/app/execute_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_hello_world(http_client, base_url):
assert response.code == 200
html_text = response.body.decode('utf-8')
assert 'Hi Voila' in html_text
assert 'print' not in html_text, 'by default the source code should be stripped'
assert 'print(' not in html_text, 'by default the source code should be stripped'
assert 'test_template.css' not in html_text, "test_template should not be the default"


Expand Down
2 changes: 1 addition & 1 deletion tests/server/execute_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ def test_hello_world(http_client, print_notebook_url):
assert response.code == 200
html_text = response.body.decode('utf-8')
assert 'Hi Voila' in html_text
assert 'print' not in html_text, 'by default the source code should be stripped'
assert 'print(' not in html_text, 'by default the source code should be stripped'
assert 'test_template.css' not in html_text, "test_template should not be the default"

0 comments on commit ab399d5

Please sign in to comment.