summaryrefslogtreecommitdiff
path: root/tests/unit/completion/test_models.py
diff options
context:
space:
mode:
authorLembrun <amadeusk7@free.fr>2021-03-11 08:20:39 +0100
committerLembrun <amadeusk7@free.fr>2021-03-11 08:20:39 +0100
commite21c4a0664672ccb3b60734eb38585c75f47b4a8 (patch)
treee16a3586923d5b4e1b3c565d775f7484d2a1eab4 /tests/unit/completion/test_models.py
parent7558aa499537ba8ef227960b4c097b29b674bf85 (diff)
downloadqutebrowser-e21c4a0664672ccb3b60734eb38585c75f47b4a8.tar.gz
qutebrowser-e21c4a0664672ccb3b60734eb38585c75f47b4a8.zip
Changed joinpath to /
Diffstat (limited to 'tests/unit/completion/test_models.py')
-rw-r--r--tests/unit/completion/test_models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py
index f4d27dfbb..ac64c5d1a 100644
--- a/tests/unit/completion/test_models.py
+++ b/tests/unit/completion/test_models.py
@@ -430,8 +430,8 @@ def test_filesystem_completion(qtmodeltester, config_stub, info,
assert str(pathlib.Path('~').expanduser()) == homedir
base = '~'
- expected_1 = str(pathlib.Path('~').joinpath('file1.txt'))
- expected_2 = str(pathlib.Path('~').joinpath('file2.txt'))
+ expected_1 = str(pathlib.Path('~') / 'file1.txt')
+ expected_2 = str(pathlib.Path('~') / 'file2.txt')
config_stub.val.completion.open_categories = ['filesystem']
model = urlmodel.url(info=info)