summaryrefslogtreecommitdiffstats
path: root/tests/test_main.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-11 12:10:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-11 12:10:15 +0000
commitc088206f90305f10be1f94135906dd64205b0a6a (patch)
tree0ccf33a45fe8d2f25df527bfd4e0c3a867226042 /tests/test_main.py
parentAdding upstream version 1.11.1. (diff)
downloadlitecli-c088206f90305f10be1f94135906dd64205b0a6a.tar.xz
litecli-c088206f90305f10be1f94135906dd64205b0a6a.zip
Adding upstream version 1.12.3.upstream/1.12.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_main.py')
-rw-r--r--tests/test_main.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/test_main.py b/tests/test_main.py
index e2f183a..a8fa4ae 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -1,7 +1,6 @@
import os
from collections import namedtuple
from textwrap import dedent
-from tempfile import NamedTemporaryFile
import shutil
import click
@@ -180,9 +179,7 @@ def output(monkeypatch, terminal_size, testdata, explicit_pager, expect_pager):
def test_conditional_pager(monkeypatch):
- testdata = "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do".split(
- " "
- )
+ testdata = "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do".split(" ")
# User didn't set pager, output doesn't fit screen -> pager
output(
monkeypatch,