Skip to content

Commit

Permalink
Test's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bobirdmi committed Nov 8, 2016
1 parent da0afa1 commit 9472be5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_web_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import markdown
from githubissuesbot.web_app import app
from githubissuesbot import web_app
import os


fake_secret = '3ce92e588556bdh7220bc738b4dafad15bj7c196'
Expand All @@ -15,7 +16,7 @@ def testapp():


def test_main_page(testapp):
with open('README.md', 'r') as f:
with open(os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) + '/README.md', 'r') as f:
assert markdown.markdown(f.read()) in testapp.get('/').data.decode('utf-8')


Expand Down

0 comments on commit 9472be5

Please sign in to comment.