File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 33
44import click
55
6- import elementary .cli .upgrade
76import elementary .cli .logo
7+ import elementary .cli .upgrade
88from elementary .config .config import Config
99from elementary .monitor .cli import monitor , report , send_report
1010from elementary .operations .cli import run_operation
Original file line number Diff line number Diff line change 11import click
2+
23from elementary .config .config import Config
34
45ELEMENTARY_LOGO = r"""
1011 /____/
1112"""
1213
14+
1315def print_elementary_logo ():
1416 config = Config ()
1517
1618 if config .disable_elementary_logo_print :
1719 return
1820 else :
19- click .echo (f"{ ELEMENTARY_LOGO } \n " )
21+ click .echo (f"{ ELEMENTARY_LOGO } \n " )
Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ def test_disable_elementary_version_check(config: Config):
6363 == CONFIG ["disable_elementary_version_check" ]
6464 )
6565
66+
6667@pytest .mark .parametrize ("config" , [CONFIG ], indirect = ["config" ])
6768def test_disable_elementary_logo_print (config : Config ):
6869 assert (
69- config .disable_elementary_logo_print
70- == CONFIG ["disable_elementary_logo_print" ]
70+ config .disable_elementary_logo_print == CONFIG ["disable_elementary_logo_print" ]
7171 )
7272
7373
You can’t perform that action at this time.
0 commit comments