|
17 | 17 | parse_args,
|
18 | 18 | )
|
19 | 19 | from zulipterminal.model import ServerConnectionFailure
|
| 20 | +from zulipterminal.platform_code import PLATFORM |
20 | 21 | from zulipterminal.version import ZT_VERSION
|
21 | 22 |
|
22 | 23 |
|
@@ -132,6 +133,7 @@ def test_valid_zuliprc_but_no_connection(
|
132 | 133 |
|
133 | 134 | lines = captured.out.strip().split("\n")
|
134 | 135 | expected_lines = [
|
| 136 | + "Detected Platform: " + PLATFORM, |
135 | 137 | "Loading with:",
|
136 | 138 | " theme 'zt_dark' specified with no config.",
|
137 | 139 | " autohide setting 'no_autohide' specified with no config.",
|
@@ -182,6 +184,7 @@ def test_warning_regarding_incomplete_theme(
|
182 | 184 |
|
183 | 185 | lines = captured.out.strip().split("\n")
|
184 | 186 | expected_lines = [
|
| 187 | + "Detected Platform: " + PLATFORM, |
185 | 188 | "Loading with:",
|
186 | 189 | f" theme '{bad_theme}' specified on command line.",
|
187 | 190 | "\x1b[93m WARNING: Incomplete theme; results may vary!",
|
@@ -395,6 +398,7 @@ def test_successful_main_function_with_config(
|
395 | 398 | captured = capsys.readouterr()
|
396 | 399 | lines = captured.out.strip().split("\n")
|
397 | 400 | expected_lines = [
|
| 401 | + f"Detected Platform: {PLATFORM}", |
398 | 402 | "Loading with:",
|
399 | 403 | " theme 'zt_dark' specified in zuliprc file (by alias 'default').",
|
400 | 404 | " autohide setting 'autohide' specified in zuliprc file.",
|
|
0 commit comments