diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-18 10:58:04 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-30 10:34:35 +0200 |
commit | 8546f48bb7291b1de621e9356ab8e399663258e2 (patch) | |
tree | bff7622117a1c5f80a016d98eb45a1f57e9d28cb /tests/unit/utils/test_version.py | |
parent | bd3130e8afad31670c3fa7ee38e88a21ed8a8ad1 (diff) | |
download | qutebrowser-8546f48bb7291b1de621e9356ab8e399663258e2.tar.gz qutebrowser-8546f48bb7291b1de621e9356ab8e399663258e2.zip |
Rename version.is_sandboxed() to is_flatpak()
(cherry picked from commit 5ce8a9c9c19e2aaec591b191d3c3efebd1957fa7)
For easier backporting of changes.
Diffstat (limited to 'tests/unit/utils/test_version.py')
-rw-r--r-- | tests/unit/utils/test_version.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/utils/test_version.py b/tests/unit/utils/test_version.py index c91017e84..7ad223e4b 100644 --- a/tests/unit/utils/test_version.py +++ b/tests/unit/utils/test_version.py @@ -314,9 +314,9 @@ def test_distribution(tmpdir, monkeypatch, os_release, expected): id='arch', parsed=version.Distribution.arch, version=None, pretty='Arch Linux'), False) ]) -def test_is_sandboxed(monkeypatch, distribution, expected): +def test_is_flatpak(monkeypatch, distribution, expected): monkeypatch.setattr(version, "distribution", lambda: distribution) - assert version.is_sandboxed() == expected + assert version.is_flatpak() == expected class GitStrSubprocessFake: |