diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-01-02 16:47:28 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-01-02 16:47:28 +0100 |
commit | e609f35850e8435f095d5363d3484c9f28174118 (patch) | |
tree | f4e069709b334d3f3d0f8096b54d1460044afe9f | |
parent | 6c8a833f2763459b54c4ef9bbe6d11d80ce307fa (diff) | |
download | qutebrowser-e609f35850e8435f095d5363d3484c9f28174118.tar.gz qutebrowser-e609f35850e8435f095d5363d3484c9f28174118.zip |
Improve test_modify
-rw-r--r-- | tests/unit/browser/test_history.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/browser/test_history.py b/tests/unit/browser/test_history.py index b64741592..829a7e6de 100644 --- a/tests/unit/browser/test_history.py +++ b/tests/unit/browser/test_history.py @@ -481,8 +481,9 @@ class TestCompletionMetaInfo: def test_modify(self, metainfo): assert not metainfo['excluded_patterns'] - metainfo['excluded_patterns'] = 'https://example.com/' - assert metainfo['excluded_patterns'] + value = 'https://example.com/' + metainfo['excluded_patterns'] = value + assert metainfo['excluded_patterns'] == value class TestHistoryProgress: |