Moving testfile used by test_utils into qutebrowser.utils

This commit is contained in:
Bruno Oliveira 2015-04-04 19:14:34 -03:00
parent 6a03089639
commit 3de584f02c
2 changed files with 1 additions and 2 deletions

View File

@ -71,8 +71,7 @@ class TestReadFile:
def test_readfile(self):
"""Read a test file."""
directory = os.path.dirname(__file__)
content = utils.read_file(os.path.join(directory, 'testfile'))
content = utils.read_file(os.path.join('utils', 'testfile'))
assert content.splitlines()[0] == "Hello World!"