Moving testfile used by test_utils into qutebrowser.utils
This commit is contained in:
parent
6a03089639
commit
3de584f02c
@ -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!"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user